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!

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