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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...