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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...