Splunk Search

Advice on how to format custom application logs

brent_weaver
Builder

What is the optimal format our application can generate for splunk to pick it up by default? Development can make the format whatever it needs to be, what is best?

Tags (2)
0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi brent_weaver,

if your development is really that nice, go for key=value pairs and Splunk will pick it up.

cheers, MuS

PS: JSON, csv or XML will also work 😉

View solution in original post

MuS
SplunkTrust
SplunkTrust

Hi brent_weaver,

if your development is really that nice, go for key=value pairs and Splunk will pick it up.

cheers, MuS

PS: JSON, csv or XML will also work 😉

jeffland
SplunkTrust
SplunkTrust

There's a page on logging best practices here that might contain further relevant ideas.

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