The trace is basically extracted using Logstash&#x27;s multiline filter. It adds a tag &quot;stacktrace&quot; to the log entry.<p>I just made a few changes in SlackAlerter class to customize for my use-case. I&#x27;d try to clean-up and send a PR soon.