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
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...