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

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...