Getting Data In

Prevent header row from being indexed

efelder0
Communicator

I am receiving duplicate header rows in my output.csv. How do I prevent the header row from being indexed?

my props.conf:

TRANSFORMS-null = setnull

transforms.conf:
[setnull]
DEST_KEY = queue
FORMAT = nullQueue

Tags (3)
0 Karma

tgow
Splunk Employee
Splunk Employee

You need to specify the line that you want to send to the nullqueue. Here is an example where the header line starts with a "#" sign.

transforms.conf

[setnull]
REGEX = ^#
DEST_KEY = queue
FORMAT = nullQueue
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 ...