Getting Data In

which format is efficient for splunk indexing : XML or JSON

nsiva23
Explorer

Hi

Which is best format to index for the splunk indexer XML or JSON... what is recommendation from SPlunk like which format is efficient.

Thanks

Tags (2)
0 Karma

somesoni2
Revered Legend

Splunk recommended log format is key-value paired, but to decide between JSON or XML, JSON should be a better selection.

See section 'Use developer-friendly formats' in the below link.

http://dev.splunk.com/view/logging-best-practices/SP-CAAADP6

Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...