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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...