Getting Data In

Sample log formats for standard log4j sourcetype?

splunkreal
Motivator

Hello,

could you provide sample log formats for log4j sourcetype?

Is it covered by Splunk addon for Tomcat?

Thanks.

* If this helps, please upvote or accept solution if it solved *
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

base log4j format is defined on ..../splunk/etc/system/default/props.conf

splunk btool props list log4j [--debug]

with --debug you could check if it's defined/modified some other app too.

You could found instructions how to configure it on java side and some examples e..g https://mkyong.com/logging/log4j-hello-world-example/

r. Ismo 

Get Updates on the Splunk Community!

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...