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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...