Docker ELK multiline exception stack trace

Hay guys,

I am Using ELK(spujadas/elk-docker) with help of logspout(gliderlabs/logspout). Problem is ELK is not printing multiline exception stack trace in kibana.

I want entire stack trace to be ingested as a single message like this.

javax.servlet.ServletException: Something bad happened
at com.example.myproject.OpenSessionInViewFilter.doFilter(OpenSessionInViewFilter.java:60)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.example.myproject.ExceptionHandlerFilter.doFilter(ExceptionHandlerFilter.java:28)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

I need help!

hi @siva1,

I'm not familiar with that logspout tool.

This seems more like an ingestion-question rather than a Kibana one. I'd check out https://www.elastic.co/guide/en/logstash/current/multiline.html, which has some info on dealing with multiline-logs in Logstash. I'd also check the Logstash forum next.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.