Getting Data In

Monitored CSV where the headers and number of columns are determined by one of the fields.

nikorc
Loves-to-Learn Lots

I need to monitor a csv file where the first 6 column headers are static but based on the 3rd column (a number 0-5) the next number of columns are dynamic as are their headers. I trying to understand how to configure the .conf files to have a dynamic set of headers based on the value of a column in the csv when sending to splunk.

Tags (2)
0 Karma

jkat54
SplunkTrust
SplunkTrust

In props.conf you have this option:

HEADER_FIELD_LINE_NUMBER = <integer>
* The line number of the line within the specified file or source that
  contains the header fields.
* If set to 0, Splunk software attempts to
  locate the header fields within the file automatically.
* Default: 0

Does it work?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...