Getting Data In

Why are Unix sourcetypes unsearchable in Splunk beyond past two months

zijian
Explorer

Hi all,

I found that searches in my unix index returns events only up to the past two months for a significant number of sourcetypes (bash_history, audit, secure, sudo logs).

Shouldn't the events be retained according to the retention period set using 'frozenTimePeriodInSecs'?

We set the period to 365 days.

 

Regards,

Zijian

 

Labels (3)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @zijian,

if you have logs of arounf two months ago but you don't have logs ot today, probably means that you had a problem that blocked the log ingestions.

The retention is satisfied because you have logs of two months ago that aren't outside the retention period.

So I hint to check the log ingestions.

If instead the problem is that you haven't logs older than 2 months, I hint to see if there are more retention definitions for that index that override the correct one.

You can do this using btool (https://docs.splunk.com/Documentation/Splunk/9.0.0/Troubleshooting/Usebtooltotroubleshootconfigurati...).

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...