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!

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...