Hi,
We will get huge XML files from our client. I need to parse them and based on the nodes, I need to move the data to their respective indexes.
In reports, I need to join the data from various indexes and produce a table output.
I would like to use Splunk Java API to index the data. I want to parse the XML file and get the list of events for each node using xpath, and then want lo load them into Splunk.
1) How can I directly index the java objects into Splunk?
2) I would like to attach the source file details to each event, so that when user want to view raw source file, they will be able to do that.
How can I specify the source file details to event in java API?
See the answer on your other question: