Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to load Java objects into plunk

$
0
0
Hi, We will get huge xml file from our client. I need to parse and based on the nodes, i need to move the data to their respective indexes. While in reports, i need to join the data from various indexes and produce a table kind of 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.?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>