Getting Data In

Where to find an example to log directly into Splunk via log4j?

attu013
Engager

Could anybody please point me to an example of how to log directly into Splunk via log4j.
I did search extensively on Google, but was unable to find an example..

Tags (2)
0 Karma

gblock_splunk
Splunk Employee
Splunk Employee

Hi @attu013

You can send data directly to Splunk with log4j using our HTTP Event Collector, or with a TCP Input. You can find out more here.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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