Logback custom appender to push logs to ElasticSearch via Open Telemetry #3799
-
Hello Team, I am using apache Nifi , which uses logback framework for logging. As few other apps are already using open telemetry to push data to ES, i have been asked to do so. So now I am looking for right way to push data from my custom log appender (java class) to Open Telemetry. Could some please point me to the usefull example which I can refer ? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @hegdemahendra . Our support for logs is very early days still. You are welcome to use the SDK logs module to try to do this. Your feedback is very welcome. Here's a PR in the instrumentation repo to do this for log4j: open-telemetry/opentelemetry-java-instrumentation#4375 Hopefully that will be useful to get to pointed in the right direction. |
Beta Was this translation helpful? Give feedback.
Hi @hegdemahendra . Our support for logs is very early days still. You are welcome to use the SDK logs module to try to do this. Your feedback is very welcome. Here's a PR in the instrumentation repo to do this for log4j: open-telemetry/opentelemetry-java-instrumentation#4375 Hopefully that will be useful to get to pointed in the right direction.