Hi, I have just started exploring SigNoz, need one...
# general
p
Hi, I have just started exploring SigNoz, need one help. How do I collect logs from std out and send to SigNoz for spring boot application?
However, it would be a lot easier to collect logs using filelog receiver. That can be easily done in K8s using K8s-Infra: https://signoz.io/docs/tutorial/kubernetes-infra-metrics/
In case of other platforms, you could use otelcol binary or docker with filelog receiver. Ref: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/filelogreceiver
p
Thanks @Prashant Shahi for so many options. I tried the otel java agent and used the env variable OTEL_LOGS_EXPORTER=otlp and now I can see the logs in the UI.