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 Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...