Getting Data In

Questions on indexing xml data

meenu_2017
Engager

I've few questions regarding indexing xml data onto Splunk.
1. The log file is a combination of normal text data and xml based on the log level(debug/info). Can i use the setting kvmode=xml for such a log file?Will it get indexed correctly with xml fields identified?

  1. Does kvmode=xml setting improves search performance, when we need to report out of few(may be 3 or 4) xml tag values? Without this setting, it would be regex and i'm trying to understand which is better?

3.What should be the line breaker setting if there are multiple date values in xml .

0 Karma
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 ...