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.
SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.