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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...