Getting Data In

filtering out data without a timestamp

a212830
Champion

Hi,

I have some logfiles that include data that I don't want - the lines don't have timestamps, and begin with either a comment (<!--) or a stylesheet statement (<xsl...). Is there a way filter this stuff out?

Tags (1)
0 Karma

yannK
Splunk Employee
Splunk Employee

You can do index time nullQueue filtering based on a regex, it has to be setup at the indexer level.
But be aware that if you apply that rule to all your events, it may have performance impact.

http://docs.splunk.com/Documentation/Splunk/5.0.2/Deploy/Routeandfilterdatad#Discard_specific_events...

0 Karma
Get Updates on the Splunk Community!

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...