Getting Data In

Why is the TCPAppender vis splunk-library-javalogging doesn't seem to work with logback?

sandeepraikar
New Member

I intend to use the splunk logging library
I tried this by adding a logback configuration as mentioned in the above github readme file, I added the 9997 port as receiving port in splunk but it did not work, could you please guide if I have missed anything?
https://github.com/splunk/splunk-library-javalogging
http://dev.splunk.com/view/splunk-logging-java/SP-CAAAE7M
http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports

please refer this code,
https://github.com/sandeepraikar/splunk-logging-example
It works for log4j2 but doesnt work for logback

0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...