Splunk Enterprise

Sending JSON file to SPlunk HEC

Nanu_Pal
Observer

I am sending json output files to splunk HEC using curl. But in the splunk data it is received as normal event but not in json format.  There are no stamps in the logs. I tried to send with both collector and collector/raw. Tried with both manually created json source type and _json. The data is getting in to splunk but not as json format. If I use  this back slash notation to all fields then I get in json format"{\"event\":\"testing\"}". Is there any work around i can do?

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...