Hi,
I am trying to use splunk rest api to call the logs to do some dashboarding in our external application.
There will be a java middle ware that will call these api and response will be parsed by the UI. But when i call the splunk rest api it returns multiple json records but not as a list. Just seperate json records , It will be troublesome to parse it as its not a list . How do we make sure the response from splunk rest api is just 1 valid json that can be parsed?
The screen shows the query and response from postman. How do we get a single json response from Splunk that has these json results as a list that can be parsed easily by a program
... View more