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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...