Getting Data In

Which Logback Appender to use to send new events to splunk via REST reciever endpoint?

misteryuku
Communicator

May i know which Logback appender should i use if i want to create new events using the Splunk's REST receivers endpoint if i'm using logback framework. because i went to make a custom basic appender for that? Is it socket appender?

0 Karma

Damien_Dallimor
Ultra Champion

To reiterate many similar responses to you already, if you go to github and clone the SplunkJavaLogging repo, then there is a splunkrestappender for the logback framework.
Look at the examples, docs and code.

Damien_Dallimor
Ultra Champion

SplunkJavaLogging is bundled with a build of the SDK in splunk.jar

0 Karma

misteryuku
Communicator

I got it. I download your version of the sdk

0 Karma

misteryuku
Communicator

Where do i locate the com.splunk.Receivers class for the Java splunk SDK. I cloned all the classes for the Java Splunk SDK from the github repository previously, but it doesn't contain the com.splunk.Receivers class.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...