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!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

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

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...