Hi ,
I am using the Splunk REST API to call a rest service and i need to parse the data to Splunk.
We are getting the response like this
[{"port":"port1" , "version" :"1.o"},{"port":"port1" , "version" :"1.o"}]
However when i index this data to a JSON source type, i am not able to see the data in JSON format clearly and getting an response like this
[ [-]
{ [+]
}
{ [+]
}
]
But if save the response to a JSON file and add that as input, we are able to get the data in correct format in Splunk.
Do we have a way to fix this?
... View more