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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...