Getting Data In

Discard log lines that do not start with a timestamp

mslvrstn
Communicator

Is there a property that would allow me to discard log lines that don't start with a timestamp? I realize that I can nullqueue them based on not matching a pattern, but I thought I remembered seeing something specifically pre-defined for timestamps.

Thanks

Tags (2)
0 Karma
1 Solution

Stephen_Sorkin
Splunk Employee
Splunk Employee

No, there is no special way to handle this other than to use a regex to direct the lines to the null queue.

View solution in original post

Stephen_Sorkin
Splunk Employee
Splunk Employee

No, there is no special way to handle this other than to use a regex to direct the lines to the null queue.

Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

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 ...