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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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