Getting Data In

Ignoring a specific portion of the log file (header/footer)

KidCrippler
Engager

I want splunk to start indexing my log file only after it encountered a specific string/regex.

Everything before that marker should be ignored as I have no use for it.

Is there any way to do that?

Thanks

ogdin
Splunk Employee
Splunk Employee

For Splunk 6, see:

http://docs.splunk.com/Documentation/Splunk/latest/Data/Extractfieldsfromfileheadersatindextime

Specifically the example on ignoring useless long headers.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...