Splunk Enterprise Security

Datamodel containes events older than earliest costraint

antoniomarongiu
Engager

I’m running into an unexpected behavior with the Network_Traffic datamodel.
Here’s the configuration:

allow_old_summaries = true

allow_skew = 0

backfill_time = -300s

cron_schedule = 2-59/5 * * * *

earliest_time = -2h

hunk.compression_codec = -

hunk.dfs_block_size = 0

hunk.file_format = -

manual_rebuilds = true

max_concurrent = 3

max_time = 14400

poll_buckets_until_maxtime = false

schedule_priority = higher

workload_pool = -

 

According to the settings, I would expect the accelerated summaries to be limited to a 2-hour window (earliest_time = -2h), but when I query the datamodel I still see events much older than that  in fact, some are even 1000+ days old.

From what I understand:

  • earliest_time should define the time window for acceleration and summaries.
  • If I query the base indexes directly, the data matches expectations.
  • Only the datamodel acceleration seems to be including much older data.

Have you ever experienced this issue?

Could this be related to backfill behavior, the allow_old_summaries = true setting, or perhaps the way the datamodel was originally accelerated?

 

Any insight would be very helpful.

Labels (1)
0 Karma

antoniomarongiu
Engager

Hi Prewin, 

the actual summary range is as below:

antoniomarongiu_0-1760008626985.png

Regards,

Antonio

0 Karma

PrewinThomas
Motivator

@antoniomarongiu 
Is your back fill range also same as summary range?
In that case make your

allow_old_summaries  false and rebuild and test

0 Karma

PrewinThomas
Motivator

@antoniomarongiu 

earliest_time controls how far back the summarization search runs each cycle, but it does not automatically purge older summary data once it exists. Because you have allow_old_summaries = true


Also what's your summary range settings?(This is the actual retention horizon for summaries)

Regards,
Prewin
If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!

antoniomarongiu
Engager

Hello Prewin,

after changing  allow_old_summaries = false now I have "only" 2 day of events against 2 hours configured in earliest ,  need to follow up  the analysis.

Best Regards,

 

Antonio

0 Karma
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...