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!

Introducing the Splunk Community Dashboard Challenge!

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

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...