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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...