Dashboards & Visualizations

Filter of xml in input

Stompero
New Member

Hi, I'm new in Splunk and I'm looking for some help for the following use case:
at Splunk indexes all new files in a folder, each file represents an event, but the files that arrive are many.

  I would like to index only the files that contain a data value to a tag (eg " Error </ MessageType>" I would like to index only the xml files that contain this string). I can do this? how can I solve this problem?

Tags (2)
0 Karma

sbrant_splunk
Splunk Employee
Splunk Employee

You may want to consider a scripted input to apply some additional logic to the collection.

http://docs.splunk.com/Documentation/Splunk/latest/admin/Inputsconf

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...