Splunk Cloud Platform

Log4j2 configuration for splunk HEC

shivak81
New Member

The following are the configurations i have used to configure my spring boot app that has log4j2 for logging app log events to splunk using HEC

<Root level="INFO">
<AppenderRef ref="http-inputs"/>
</Root>
</Loggers>

IS there any other configuration that i need to do . As i am not seeing any logs in splunk cloud

Tags (2)
0 Karma

bangalorep
Communicator

Hello,
Before these configurations, we usually add a section with the IP for the splunk instance and splunk token. Could you maybe check this section to see if its all good?

0 Karma
Get Updates on the Splunk Community!

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...

Secure Your Future: Mastering Upgrade Readiness for Splunk 10

Spotlight: The Splunk Health Assistant Add-On  The Splunk Health Assistant Add-On is your ultimate companion ...

Observability Unlocked: Kubernetes & Cloud Monitoring with Splunk IM

Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team on ...