In this post, I would like to cover the Explore page in Log Intelligence. Read on to learn more!
The Explore page of Log Intelligence has a lot of similarities to the Interactive Analytics page of Log Insight:
This page is used to query over and analyze the events themselves and the visualizations they form as well. Nearly all the functionality you have in Log Insight today is available on the Log Intelligence Explore page, including:
- Chart Types
- Event Types
- Saved Queries
- Fields including indexed (i.e., static) and extracted
- View Event in Context
Some missing capabilities from Log Insight today include:
- Snapshots — has pinboard instead
- URL Shortener (i.e., share link) — long URL works though
- Schema Discovery
- Event Trends
- Table View
Some new capabilities that Log Insight does not have:
- Alerts — both on visualization as well as under Events
- Event Annotations
- Query collapse
To walk through the Explore page, I am going to divide the page into three sections and cover the features of each section.
At the top of the page, you have the ability to construct or edit queries:
- Queries can be made on partial keywords where a keyword is an alphanumeric set of characters. A partial keyword query means you can search for sub-keywords. For example, if you have the hostname “us1-pod2-esx3” you can query for “esx” and get a match. (Note: This is different from Log Insight)
- Filters support a field, operator, and values. Multiple filters can be AND or OR together. (Note: This is the same as Log Insight)
- Queries can be collapsed to save screen space. (Note: This is different from Log Insight)
- The time picker is based on the timezone of the browser. (Note: This is the same as Log Insight)
In addition, you will notice you have options to:
- See more options
Let’s cover those options in-depth.
When you save a query, you must provide a unique name.
IMPORTANT: Saved queries must have unique names.
You can optionally specify a description. You also have the option of adding a saved query to the shared dashboard (will cover in a future post).
Similar to saving a query, to save an alert, you must provide a unique name.
IMPORTANT: Saved queries must have unique names.
You can optionally provide a description.
Pin / Pinboard
You may notice the right-hand tab on the page called pinboard. You can select the tab to pull it out, or for a given query, you can select the pin button near the top, right-hand side of the page. The pinboard and associated pins are similar to the snapshot functionality in Log Insight. Pins are temporarily stored queries for a given user. For a given query on the Explore page, you can select the pin icon to add it to the pinboard.
IMPORTANT: Pins are only stored for the given browser session and refreshing the browser will clear all pins
It is important to note that the pinboard only supports a subset of the chart types today and automatically converts unsupported chart types to supported chart types (e.g., pie to bar):
IMPORTANT: Compare on pinboard is always over time
Finally, we have other options:
- Open — open a saved query
- Save As — similar to the Save button
- Add to Dashboard — similar to the Add to Dashboard button in the Save dialog box
- Edit Description — similar to the Save button
- Delete — ability to delete a saved query (if applicable)
Of these options, the most interesting one is Open:
The next section of the Explore page is the chart. The chart can be manipulated to leverage mathematical functions, groupings, and with or without time. In addition, the chart type can be changed depending on the query constructed. (Note: All of this is the same as Log Insight). One cool feature is the ability to overlay alerts — from the Recent Alerts page — on top of the chart. This can be extremely helpful when troubleshooting issues. (Note: This is different from Log Insight)
Finally, we have the events themselves.
The events are shown in a “tail”-like fashion but have the ability to be expanded to show fields discovered. In addition, if an event has been annotated, then the annotation is shown on expansion. When collapsed, annotated events have a blue bar on the left edge of the event. (Note: Hidden fields by default and event annotations are different from Log Insight)
You will notice that in addition to the Stream tab, you have Types and Alerts. Types are summarizations of ingested events (Note: Same as Log Insight but without schema discovery today):
Finally, you have the Alerts tab, which should have a timeline of alerts similar to the Recent Alerts page:
Going back to the Streams tab, for every event, you also have other options:
View in Context
View in Context shows you the event you pivoted on and the events that happened before as well as after that event. By default, the hostname and/or filepath fields are added to the query (if available) though the context query can be changed as desired. (Note: This is all like Log Insight except the hostname and/or filepath fields being added to the query)
You also have the ability to create your own extracted fields. You can do this in various ways, including from the event other options menu or by selecting part of an event and selecting Extract Field.
IMPORTANT: The name must be unique
In addition, you can modify the field definition as desired, including adding additional context to optimize the query better:
To the right of the events is the Fields panel. This lists all the fields for the result set of the given query:
- Indexed — discovered during ingestion and cannot be modified (thus the lock icon)
- Content — statically (today) imported into Log Intelligence and behave like extracted fields, but can only be cloned
- Extracted — query time regular expression defined by the user; can be edited, cloned, or deleted
IMPORTANT: What operations you are allowed to do depends on your role. I will cover roles in a future post.
Whew, that was a lot of material for one post! As you can see, the Explore page provides a ton of functionality. With it, you should be able to troubleshoot your environment and get to root cause analysis easily. What do you think of the Explore page?
© 2018 – 2021, Steve Flanders. All rights reserved.