Getting Data In

Same file but different extension

attgjh1
Communicator

Short question.

i have a directory that contains log files that look somethign liek this:

aaa.2012-05-22.log

but the system will compress them up after they go cold i.e.

aaa.2012-05-22.log.gz

in this case, will Splunk detect this new file in the directory that its monitoring and index the file? or would it still ignore it as the exact same log has already been indexed before.

Tags (1)
0 Karma
1 Solution

mikelanghorst
Motivator

The best would be to set your whitelist/blacklists to only grab .log files and ignore .log.gz, that said Splunk should open the file then determine based upon checksums that it's already been read.

View solution in original post

mikelanghorst
Motivator

The best would be to set your whitelist/blacklists to only grab .log files and ignore .log.gz, that said Splunk should open the file then determine based upon checksums that it's already been read.

Get Updates on the Splunk Community!

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

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

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...