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)