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!

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

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

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