Reputation: 21
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?
Upvotes: 2
Views: 2455
Reputation: 204
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
Upvotes: 1
Reputation: 340733
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
.
Upvotes: 2