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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

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