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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...