icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading CEF Extraction Add-on for Splunk
SHA256 checksum (cef-extraction-add-on-for-splunk_154.tgz) de593d48f6c7f276ebe6d0c3bd625df3b36595d7a4290639536ae49b23a96cd2
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

CEF Extraction Add-on for Splunk

This app is NOT supported by Splunk. Please read about what that means for you here.
Overview
Details
This add-on provides transforms for CEF headers and key/values extraction for extractling custom strings (useful for dealing with Arcsight logs)

CEFUtils - Common Event Format Extraction Utilities Add-on for Splunk Enterprise

The common event format is an event exchange syntax. A sample message formatted as CEF looks as follows:
CEF:0|Splunk|Test|1.0|signature:2|Test event|5|src_addr=10.0.0.0 dest_addr=20.0.0.2 src_port=32122 dest_port=80
It consists of a common prefix that always has to be present, followed by a flexible key-value extension.

In order to parse CEF data correctly in Splunk, this add-on provides 4 transforms:
* cefHeaders - use it to extract CEF headers
* cefKeys - fixes multiword value extraction (by default Splunk would only extract key's values up to the first whitespace character)
* cefLabelBeforeKey - for custom field mapping, replacement for deprecated 'cefkv' command.
* cefLabelAfterKey - for custom field mapping, replacement for deprecated 'cefkv' command

Example:

cefLabelBeforeKey and cefLabelAfterKey transforms will extract key-value pair custom_label="custom string value" from the following CEF event:
CEF:0|Splunk|Test|1.0|signature:2|Test event|5|cs1=custom string value cs1Label=custom label

Installation in the Distributed Deployment

The add-on provides configurations that are used both at index time and at search time, so if you are installing the add-on in the distributed deployment you'll need to install it on the instances running the Parsing Pipeline (Heavy Forwarders or Indexers/Peers) and on the Search Heads.

USAGE

See props.conf example supplied with the app

Credits

This add-on is partially based on "Common Event Format - Field Extractions" by raffy and "jsonutils" by vbumgarner

Support

This is an opensource project. No support provided. Public repository available on https://github.com/igsher/cefutils">GitHub

Release Notes:

v1.5.5
* No changes at all. Incrementing release number to comply with Splunk's FY25 release recency requirement

v1.5.4
* Added eventgen.conf to generate sample data for app tesing. To be used with https://splunkbase.splunk.com/app/1924/">Eventgen app

v1.5.0
* Added cefLabelBeforeKey,cefLabelAfterKey transforms
* Deprecated cefkv command

Release Notes

Version 1.5.4
March 11, 2024
  • Added eventgen.conf to generate sample data for app tesing. To be used with Eventgen app

Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.