Splunk Search

Event-data within retention time is missing

ufotech
Explorer

Hi

For a given index with retention of 91 days configured, we find some hosts having events for the full 91 days.
Some other hosts only retain 78 days and some other host even less than that.

This is a indexer-cluster-environment having 4 peers and a distributed indexer.conf.

Index:
[ix_windows_security_logs]
coldPath = $SPLUNK_DB/ix_windows_security_logs/colddb
enableTsidxReduction = 0
rtRouterThreads =
suspendHotRollByDeleteQuery = 0
enableOnlineBucketRepair = 1
frozenTimePeriodInSecs = 7862400
archiver.enableDataArchive = 0
bucketRebuildMemoryHint = 0
minHotIdleSecsBeforeForceRoll = 0
syncMeta = 1
maxTotalDataSizeMB = 716800
compressRawdata = 1
selfStorageThreads =
homePath = $SPLUNK_DB/ix_windows_security_logs/db
rtRouterQueueSize =
thawedPath = $SPLUNK_DB/ix_windows_security_logs/thaweddb
tsidxWritingLevel =

The index is not full at all:
ix_windows_security_logs Curent Size: 1 MB Max Size: 700 GB

Nor is the device:
/dev/mapper/vgappl-lvsplunk 3.1T 51G 2.9T 2% /opt/splunk

What could be the issue here?

Thank you

Labels (1)
Tags (2)
0 Karma
1 Solution

ufotech
Explorer

The Index-Size is 49 Gb. I found some default 'homePath.maxDataSizeMB' to be set to 51200. This may explain why data gets removed (freezed up) prematurely.

Cheers, Urs

View solution in original post

0 Karma

ufotech
Explorer

The Index-Size is 49 Gb. I found some default 'homePath.maxDataSizeMB' to be set to 51200. This may explain why data gets removed (freezed up) prematurely.

Cheers, Urs

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @ufotech.

good for you.

Ciao and happy splunking.

Giuseppe

P.S.: Karma Points are appreciated 😉

gcusello
SplunkTrust
SplunkTrust

Hi @ufotech,

check if the index is working near to the maxTotalDataSizeMB (700 GB).

You can check it using the Splunk Monitoring Console.

This would explain why some events are discarded before retention time.

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...