Getting Data In

How to write a monitor stanza in inputs.conf to add a path for *.xml files?

brod_geico
Path Finder

i need to add the path below to my inputs.conf file and it has a lot of .xml files
`/ibuapps/sales/2014-11-11/
/*.xml`

but what is the right stanza to add it to my monitor list?

0 Karma
1 Solution

cpetterborg
SplunkTrust
SplunkTrust

You have an extra slash in your path that looks strange (copy-pasted, too), but...

[monitor:///ibuapps/sales/2014-11-11/*.xml]
sourcetype = WHATEVER
KV_MODE = xml
...

should work.

View solution in original post

cpetterborg
SplunkTrust
SplunkTrust

You have an extra slash in your path that looks strange (copy-pasted, too), but...

[monitor:///ibuapps/sales/2014-11-11/*.xml]
sourcetype = WHATEVER
KV_MODE = xml
...

should work.

brod_geico
Path Finder

thanks but i have multiple files with same format like 2014-11-23 ----2013-10-12 etc * is not working

0 Karma

cpetterborg
SplunkTrust
SplunkTrust

So have you tried:
[monitor:///ibuapps/sales/*/*.xml]

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...