Getting Data In

Why doesn't Splunk index old events in same log file?

SS1
Path Finder

Hi,

So i am trying to index the log file data.log, log file is 2 days old and splunk is indexing only the latest events. Is there a way i can index the older events in data.log ?

0 Karma

isoutamo
SplunkTrust
SplunkTrust
Hi
can you share your clients/UF's inputs.conf stanza for that file?
r. Ismo
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @SS1,

if your system doesn't index logs older than 2 days, probably in your inputs.conf there's an "ignoreOlderThan" option.

So, if you want to index events older than two days you have to disable this option.

Ciao.

Giuseppe

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