Splunk Enterprise

About import(monitor) excluding csv header

oda
Communicator

I'm trying to import a csv file Using the monitor function.
The imported csv file will be updated (overwritten).
Since the header line is included in duplicate, I put the setting of "HEADER_FIELD_LINE_NUMBER=1".
Initially it works, but when I reboot it doesn't.
Does anyone know the answer or the issue?

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Please explain "Initially it works, but when I reboot it doesn't."  What changes after reboot?

IME, importing CSVs can be problematic because of this.  The header line is needed so Splunk knows what the fields are, but then you have duplicate header lines in your search results.  One answer is to filter the headers from your searches.  Another answer (the one I've used in the past) is to switch to a different file format.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please explain "Initially it works, but when I reboot it doesn't."  What changes after reboot?

IME, importing CSVs can be problematic because of this.  The header line is needed so Splunk knows what the fields are, but then you have duplicate header lines in your search results.  One answer is to filter the headers from your searches.  Another answer (the one I've used in the past) is to switch to a different file format.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...