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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...