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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

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