Splunk Search

Remove first line from event types

Michael_Schyma1
Contributor

How do i remove the first line from event type when importing a log file into our enviornment? I thought it would be CHECK_FOR_HEADER=true? Any suggestions?

Tags (1)
0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee

sdaniels
Splunk Employee
Splunk Employee

You'll need a setting in transforms.conf as well. This is a good reference in addition to the example in the docs.

http://splunk-base.splunk.com/answers/49366/how-to-ignore-first-three-line-of-my-log.

0 Karma

Michael_Schyma1
Contributor

alt text

IS there a way to do this in this screen.... (screenshot above)

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...