Use Logstash Dissect for Java Stack Trace

I am using logstash dissect plugin to parse my log. How can I use it to handle stacktrace? I am looking for something like %{stacktrace}. Can this be done by using dissect? Or I have to use Grok?

    18-10-24 14:46:45 myserver.company.com ERROR - Uncaught exception on main
        Exception in thread "main" java.lang.NullPointerException
                at com.example.myproject.Book.getTitle(Book.java:16)
                at com.example.myproject.Author.getBookTitles(Author.java:25)
                at com.example.myproject.Bootstrap.main(Bootstrap.java:14)

Can you posy your input code so that it will be easy to provide solution.

input? our company IF team manages the logstash pipeline. I can only provide the filter section of the logstash config, input and output are fixed, I can't see or have access to. I do use filebeat to push logs to logstash. Sorry, I am new to Logstash, let me know if I have misunderstood you.

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