Viewing and Working with Search Results
Learn about viewing and working with search results on the Search page.
After you get an initial set of results, you can view more details, whether in terms of the log fields, JSON, or before and after states, and visually as a chart. On the Explore tab, a Number of log events per minute bar graph displays the number of log events, according to your filter settings. The Explore tab displays a maximum of 100 search results.
To see the latest logs, ensure you click Search after time has passed while on the Search page.
For any actions taken on the Explore and Visualize tabs, you can define how often to refresh the data on the Search page by selecting a value from the Autorefresh list (choose from OFF, 5 Minutes, or 15 Minutes). The default is OFF.
Your search results can also be visualized. See Visualizing Search Results for more information.
You can quickly search according to several predetermined queries. From Quick Start Queries, select a query from the list. The Search page displays the results for the chosen query.
On the Explore tab, click the down arrow () to expand the log entry in JSON view.
The JSON view is displayed. In JSON view you can view the log data fields and values, collapse and expand nodes, or click the copy icon to copy the log entry to the clipboard.
From the Explore tab's Actions menu, select Expand log data. All the log entries from your search are fully expanded, without having to click the down arrow () for each one. To reverse this state, select Collapse log data to close every entry simultaneously.
From the Explore tab's Actions menu, select Wrap lines. The Wrap lines option allows you to view each entry's data with line wrapping. Select Unwrap lines to undo. The Wrap lines feature also works when you are viewing an expanded log entry in JSON view.
On the Explore tab, click the down arrow () to expand the log entry and click JSON.
The JSON view is displayed. Click the Before & After tab to switch to its view.
On the Explore tab, click the down arrow () to expand the log entry and click Before & After.
The Before & After view is displayed. In contrast to the entry labeled as Current, this view displays the preceding and successive logging lines in the log object. Click Show newer entries or Show older entries to view extra corresponding newer or older entries in the Before & After view.
On the Explore tab, each entry has three interactive header columns, which correspond to: the log timestamp (datetime), the plugin where the log occurred (type), and the log message (data.message).
You can interact with and customize the log entry view whether a log entry is collapsed or expanded.
When clicking a collapsed entry, click one of the log entry columns to open a context-sensitive menu for that entry and the column header. The following options are shown:
- Copy value
- Filter matchingNote
Not available for the data.message column of an open or closed log entry. - Filter not matchingNote
Not available for the data.message column of an open or closed log entry. - Remove from summary viewNote
This option does not apply to the first default column (datetime). It is only available for new fields you add to the Explore tab's summary view, or the type and data.message columns which you can also remove.
For an expanded log entry with the JSON view visible, you can click a log field to access the following options:
- Copy value
- Filter matching
- Filter not matching
- Add to summary view
These options are also available on the JSON tab of an opened Before & After view.
When selecting Add to summary view for a particular field,
the field is added to the Explore tab view, to the right
of the first three default columns (datetime,
type, data.message). For
example, if you click "logContent"
and select Add to
summary view, a new logContent column is
added, just after data.message.
If you are managing and adding log fields in Basic Mode search and then switch to Advanced Mode, column header selections are still maintained, even as you type an advanced query.
From the Explore tab's Actions menu, select Export log data (JSON). This feature allows you to export the log data to a JSON file that you can save to your system.