All Apps and Add-ons

How to find events with invalid date prior to 1/1/1970?

mikelanghorst
Motivator

A few days ago I found a new sourcetype on the summary page of sourcetype=131228018 with 1.3B events and a last update of "12/31/1969 16:00:00"

I'm at a loss on how to find this data, I can't search for it in the interface. All Time returns no results, and it won't let you choose a date prior to 1/1/1970. Briefly looking at the indexes, I don't see any buckets with larger than expected spans.

How can I find these events so that I can correct and purge them?

1 Solution

mikelanghorst
Motivator

Just worked with Octavio down in the answers lab, with Vincent from PS, and found the issue with the help of the S.o.S. app they released.

The problem was corrupted metadata in the indexes, caused by a bug when the deploymentServer initiates a restart of the indexers. I'm currently in the process of cleaning up the data using "splunk cmd splunkd fsck".

View solution in original post

mikelanghorst
Motivator

Just worked with Octavio down in the answers lab, with Vincent from PS, and found the issue with the help of the S.o.S. app they released.

The problem was corrupted metadata in the indexes, caused by a bug when the deploymentServer initiates a restart of the indexers. I'm currently in the process of cleaning up the data using "splunk cmd splunkd fsck".

mzorzi
Splunk Employee
Splunk Employee

try this search with all the time:

index="*" sourcetype="*131228018*"

0 Karma

malberto
Explorer

When you search on "sourcetype=131228018" that should find it, if you're searching all time. If not, that's a bug.

0 Karma

mikelanghorst
Motivator

That's what I would expect as well, but returns 0 events. Currently have a case open with support, but figured I'd drop it out here as well.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...