https://signoz.io logo
#general
Title
# general
p

Purti Rajpal

06/29/2023, 10:06 AM
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

Purti Rajpal

06/30/2023, 11:05 AM
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.
2 Views