Knowledge Management

How can we best show log entries with stack traces?

ChrisKnightSL
New Member

So, we have many log messages, a reasonable number of which may contain stacktraces. Displaying the log messages in a table seems the most logical way to present the data, however with a properly formatted stacktrace, the height of a table row is often greater than the height of the screen, which makes looking through log messages a pain due to the amount of scrolling and paging required. The only implementations for showing stacktraces I can come up with so far include:

  • putting up with the excessive row height (which makes looking at log entries difficult when only one log entry appears on the screen at a time)
  • trimming the stack trace to just a few lines (which risks cutting off important/relevant stack trace information)

Both have their disadvantages. The ideal solution would be the ability to expand a table row/cell for more detail, allowing only the first line of a stacktrace to be shown, but could be expanded to the full stack trace. Is this possible in Splunk? How have others tackled this user experience issue of effectively displaying stack traces with easy access to all the relevant info in it?

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...