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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...