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 Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...