All Apps and Add-ons

Is it possible to add additional CEF fields for output to Arcsight?

bradp1234
Path Finder

I am attempting to map Microsoft TMG logs to CEF with the Splunk app for CEF and I am not able to map the requestURL field. It is not an option in the dropdown box. How can I add this field? Is it a text file within the app?

Tags (1)
1 Solution

matthieu_araman
Communicator

Hello,

I add the same pb as you.
There are missing cef fields in the choices proposed by the app.

I found the following solution :
to add a custom cef field, open up cef_inventory.csv file in the splunk_app_cef/lookups directory
first line describe the line format (cef_key,splunk_key,full_name,friendly_name,data_type,length,meaning,location,cef_value_type,required_related_field,required_field)

you can test by duplicating a line and modifying it.
first columm is your cef field name
second one is the splunk name (it looks like the app will try to match if the name in the data model contains this splunk name)
after editing the file, just reloading the editing url should be enough to make it appears

there are also comments associated to the fileds in the file which are useful.(they don't seem to appear in the web form)

hope that helps

View solution in original post

matthieu_araman
Communicator

Hello,

I add the same pb as you.
There are missing cef fields in the choices proposed by the app.

I found the following solution :
to add a custom cef field, open up cef_inventory.csv file in the splunk_app_cef/lookups directory
first line describe the line format (cef_key,splunk_key,full_name,friendly_name,data_type,length,meaning,location,cef_value_type,required_related_field,required_field)

you can test by duplicating a line and modifying it.
first columm is your cef field name
second one is the splunk name (it looks like the app will try to match if the name in the data model contains this splunk name)
after editing the file, just reloading the editing url should be enough to make it appears

there are also comments associated to the fileds in the file which are useful.(they don't seem to appear in the web form)

hope that helps

sbrant_splunk
Splunk Employee
Splunk Employee

The Splunk app for CEF relies on data models to pull data from, so what you're seeing in the dropdowns are the fields that exist in data models currently defined on your Splunk instance. If the data models that you have do not contain the desired fields, you can always create a new data model that does.

0 Karma
Get Updates on the Splunk Community!

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...