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!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...