2

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. I want to make a custom basic appender for that? Is it socket appender?

Kara
  • 6,115
  • 16
  • 50
  • 57

2 Answers2

2

There is no built-in appender. However following Which Logback Appender to use to send new events to splunk via REST reciever endpoint? (which BTW has a surprisingly similar layout to SO) I found SplunkJavaLogging project, specifically the SplunkRestAppender.

Tomasz Nurkiewicz
  • 334,321
  • 69
  • 703
  • 674
1

That is correct Tomasz , SplunkJavaLogging has log4j and logback appenders and also a java.util logging handler for anyone still using that framework.

https://github.com/damiendallimore/SplunkJavaLogging

http://dev.splunk.com/view/community-projects/SP-CAAAED7