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!

Demo Day: Strengthen Your SOC with Splunk Enterprise Security 8.1

Today’s threat landscape is more complex than ever. Security operation centers (SOCs) are overwhelmed with ...

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...