Getting Data In

I have a csv file which contains random data in two rows, and has structured data from 3rd row , How can I blacklist top two rows get data in splunk csv format

nagarjuna559
Explorer

Ex:

a, b, c, d, e, f , g

name, class, year, branch
abc, 1,2016, maths

I want to blacklist a,b,c ,d, e ,f and get fields name, class, year, branch

Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try HEADER_FIELD_LINE_NUMBER = 3 in props.conf.

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

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...