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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...