Splunk Enterprise Security

Why does Splunk search less events in the last 30 days (950k) vs the last 7 days (24million)?

russell120
Communicator

I have a strange issue where when I run a tstats query against a data model for the last 7 days in smart mode, 24million events are searched. When I run that same search for the last 30 days, only 950k events are searched.

This means less results are returned upon completion when last 30 days is selected. Anyone why less events are searched when I expand the time range to last 30 days?

Labels (2)

tscroggins
Influencer

@russell120 

Are you using tsidx reduction? Check the values of enableTsidxReduction and timePeriodInSecBeforeTsidxReduction on the indexes you're analyzing. (EDIT: With the qualification that the last 30 days should be inclusive of the last 7 days. Incorrectly configured clusters and so on can also cause large discrepancies.)

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.


Introducing Unified TDIR with the New Enterprise Security 8.2

Read the blog
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...