Splunk Search

indexed data missing for source type

kteng2024
Path Finder

Data already been indexed for a sourcetype is missing in splunk . Can i please know how to troubleshoot the issue . events in splunk in splunk are missing for only those 2 days but events are available before and after those 2 days.

0 Karma

mattymo
Splunk Employee
Splunk Employee

Have you searched all time? Sounds like timestamp issues...

- MattyMo
0 Karma

kteng2024
Path Finder

no timestamp change.

0 Karma

mattymo
Splunk Employee
Splunk Employee

what is the date of the missing data?
Is the sourcetype looking ok real time?
what is the source and sourcetype of the data. how is it collected?
Are you an admin?
Is it possible it is collected in daily files and rolled over, and somehow those two days were lost, or need to be re-indexed?

#hunt for the source file, may show you exactly where to find the raw data, if meta is not overwritten
    index=<yourIndex> sourcetype=<yourSourcetype> | stats count by source | head 10000

#Look at the configuration for the particular sourcetype. 
    ./splunk btool inputs list <yourInput>  --debug
    ./splunk btool props list  <yourSourcetype> --debug


#if you get to the point you are chasing buckets
    check out | db inspect
- MattyMo
0 Karma

hardikJsheth
Motivator

The reason why data is missing will depend on how its getting indexed

If you are monitoring a file which is managed via logrotation, then problem can be with the filechecksum. Splunk may have already indexed data from the beginning of the file and file was rotated which may have resulted in data not getting indexed from rest of the file.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...