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!

Developer Spotlight with Paul Stout

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

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...