Enterprise DevOps, Log Management and Analytics

Sematext Blog

Subscribe to Sematext Blog: eMailAlertsEmail Alerts
Get Sematext Blog via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Blog Feed Post

Log Event Context

Being able to see the context of a specific log message is one of those highly sought out  features in Kibana that still seems to be missing (though we can see the light at the end of that long tunnel now!).  

We’ve had this functionality in Sematext for quite a while, actually. What does it do?  To explain that, let’s provide some…. well, context.  When you’re troubleshooting and inspecting logs what do you do?  You search and filter logs to narrow things down, to find log messages that will help you understand what, how, why, or when something happened.  The key part here is that you search, and when you search what you typically see are only logs that matched what you searched for (think grep).  However, if you were to manually look at a log file with less, or tail -F for example, you wouldn’t see only matching log lines.  You would see all events, so after locating the log event of interest, you would still be able to see all log events before it and after it.  

Log Context in Sematext Cloud is much like that.  Once you’ve found a log event of interest a single click will expose its context.  It’s like grep -C NUM, but applicable across all your infrastructure, not just one log file at a time.

Step 1: Click on the Log Context button for the log event of interest.

Sematext Log Contexthttps://sematext.com/wp-content/uploads/2017/05/Blur_Final-1_Log-Context... 300w, https://sematext.com/wp-content/uploads/2017/05/Blur_Final-1_Log-Context... 768w, https://sematext.com/wp-content/uploads/2017/05/Blur_Final-1_Log-Context... 1024w" sizes="(max-width: 1455px) 100vw, 1455px" />

Step 2: Easily scroll down and check the log context.

Sematext Log Contexthttps://sematext.com/wp-content/uploads/2017/05/Blur_Final-2_Log-Context... 300w, https://sematext.com/wp-content/uploads/2017/05/Blur_Final-2_Log-Context... 768w, https://sematext.com/wp-content/uploads/2017/05/Blur_Final-2_Log-Context... 1024w" sizes="(max-width: 1447px) 100vw, 1447px" />

And that’s it! Two steps to Log context. As simple as that!  Want to be able to easily filter your logs, but also see all context around individual log events?  Try Sematext Cloud free for 30 days!

Read the original blog entry...

More Stories By Sematext Blog

Sematext is a globally distributed organization that builds innovative Cloud and On Premises solutions for performance monitoring, alerting and anomaly detection (SPM), log management and analytics (Logsene), and search analytics (SSA). We also provide Search and Big Data consulting services and offer 24/7 production support for Solr and Elasticsearch.