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!

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...