Getting Data In

HEC event formatting: How to configure Splunk to show only message field and not all fields?

redg
Loves-to-Learn

Good evening,
With a Java Spring Boot application, I use the library provided by Splunk to send to Splunk the logs using
com.splunk.logging.HttpEventCollectorLogbackAppender.

By default when I do a search in Splunk, the event appears like this (see image below).

redg_0-1673231701551.png

But I'd rather default the search to return results in this form.

redg_1-1673231784318.png

Is it possible to configure Splunk (Source types, etc..)  to display only the message field and not the entire event with all the fields?

 

 

 

Labels (1)
Tags (2)
0 Karma

PaulPanther
Builder

@redg You could use the HEC Raw-Endpoint (Format events for HTTP Event Collector - Splunk Documentation) and parse & transform the events as needed.

0 Karma
Get Updates on the Splunk Community!

There's No Place Like Chrome and the Splunk Platform

Watch On DemandMalware. Risky Extensions. Data Exfiltration. End-users are increasingly reliant on browsers to ...

The Great Resilience Quest: 5th Leaderboard Update

The fifth leaderboard update for The Great Resilience Quest is out >> 🏆 Check out the ...

Devesh Logendran, Splunk, and the Singapore Cyber Conquest

At this year’s Splunk University, I had the privilege of chatting with Devesh Logendran, one of the winners in ...