Getting Data In

Can we specify files in archive to be collected?

philip_w
Explorer

I couldn't find a clear guideline of doing this.
Simply, can we specify monitor path deep inside archive?

e.g.
[monitor:///tmp/.gz:/archive/.xml]

I want UF get the files directly instead of passing entire archive file to indexer and do nullQueue routing.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi philip_w,
did you already see this document?
http://docs.splunk.com/Documentation/Splunk/7.1.3/Data/Getstartedwithgettingdatain

Anyway I cannot correctly see the command you used, please put the monitor stanza in Code Sample, clicking on the button 101010.

Anyway, you can put in the monitor stanza the files or the directory you want:

[monitor:///tmp/*.gz]
...
[monitor:///archive/*.xml]
...

and then filter files using blacklist and whitelist options.

Bye.
Giuseppe

0 Karma

harsmarvania57
Ultra Champion

Hi @philip_w,

As far as I know you can't monitor selected file from archived(zipped) path.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...