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!

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...