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!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...