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
Motivator

@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.)

Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

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

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...