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

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

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

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