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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...