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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...