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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...