Events are the raw underlying data of query results.
Events can be individual spans within a trace or individual log messages.
Access Events
To access the underlying events of a query, click on any single point in time in the query result graph, and then choose View events from the context menu.
Tip
Don’t worry! Even though you selected a single event, you will still be able to page through all of the other events belonging to the query.
View Events
Honeycomb’s Explore Data tab shows you:
An Events view, which contains all of the raw data from your current query, ignoring both the query’s aggregates and any GROUP BY or ORDER BY fields.
Your data starts with the most recent events that occurred from the timestamp of the point you selected.
At any time, you can choose to display your data either as a table view or as a log lines display, which is optimized for scanning across logs.
A Fields list, which shows you all of the fields that contain data for your query.
If you don’t see a field in your dataset in this list, that means that the spans in your query do not contain data for that field.
Events View
The Events view contains all of the raw data from your current query, ignoring both the query’s aggregates and any GROUP BY or ORDER BY fields.
Tip
You can change the display of your data either to a table view or to a log lines display, which is optimized for scanning across logs.
Fields contains an additional Δ Time field.
Add this field to your Events view to include the time difference between the current event and the previous event.
Tip
If you don’t see a field in your dataset in the Fields list, that means the spans in your query do not contain data for that field.
To save space in the Fields list, only a subset of the fields are immediately shown.
You can use the search box to search for a particular field by name.
To expand the list, scroll to the bottom of the list of fields, and select Load More.
Change Data Display
At any time, you can choose to view your data as either an events table or as a log lines display, which is optimized for scanning across logs.
In the Events view, locate the Table and Log Lines icons in the upper left.
Select each icon to display data as a log lines display or as an events table.
The data display reflects your selection.
Customize Events Display
To make the events display work for you, you can control which fields are visible in the Events view and customize the display of the fields.
Add Fields to the Events View
Tip
Did you know that we provide a field that displays the time difference between events?
Add the Δ Time field from the Fields panel.
In the Displayed Fields list, locate the field you want to remove from the events view.
Select the X icon to the right of the desired field.
The Events view will update and will no longer display the removed field.
In the Events view, locate the Event column.
In the Event column, select the field name of the field with which you want to interact.
Select Remove column from table from the context menu.
If you don’t see the Remove column from table option, the field is already not a column in your table.
The Events view will update, and the selected column will no longer appear in the table.
In the Events view, select the field that you want to remove from the log line.
Select Remove field from line from the context menu.
The Events view will update, and the selected field will no longer appear in the log lines.
If your data is displaying in a table, the Event column contains a list of fields and their values for the event, each of which you can interact with to modify the query or customize the table display.
In the Events view, locate the Event column.
In the Event column, select the field name of the field with which you want to interact.
Select the action you want to take from the context menu:
Add column to table: Adds the field to the columns displayed in the Events table.
Remove column from table: Removes the field from the columns displayed in the Events table.
Copy field name: Copies the field name to your local clipboard.
Copy value: Copies the value to your local clipboard.
Show only where field exists: Adds a WHERE clause to filter by <field> exists, then re-runs the query.
Show only where field does not exist: Adds a WHERE clause to filter by <field> does-not-exist, then re-runs the query.
Show only where field is value: Adds a WHERE clause to filter by <field> = <value>, then re-runs the query.
Show only where field is not value: Adds a WHERE clause to filter by <field> != <value>, then re-runs the query.
Group by field: Adds a GROUP BY clause to group by <field>, then re-runs the query.
Tip
If you don’t see the Add column to table option, the field is already a column in your table.
If you don’t see the Remove column from table option, the field is already not a column in your table.
If your data is displaying as log lines, each expanded line contains a list of fields and their values for the event, each of which you can interact with to modify the query or customize the log lines display.
In the Events view, expand a log line.
In the expanded log line, select the name of the field with which you want to interact.
Select the action you want to take from the context menu:
Add field to line: Adds the field to the fields displayed in the log lines.
Remove field from line: Removes the field from the fields displayed in the log lines.
Copy field name: Copies the field name to your local clipboard.
Copy value: Copies the value to your local clipboard.
Show only where field exists: Adds a WHERE clause to filter by <field> exists, then re-runs the query.
Show only where field does not exist: Adds a WHERE clause to filter by <field> does-not-exist, then re-runs the query.
Show only where field is value: Adds a WHERE clause to filter by <field> = <value>, then re-runs the query.
Show only where field is not value: Adds a WHERE clause to filter by <field> != <value>, then re-runs the query.
Group by field: Adds a GROUP BY clause to group by <field>, then re-runs the query.
Tip
If you don’t see the Add field to line option, the field is already a field in your log lines.
If you don’t see the Remove field from line option, the field is already not a field in your log lines.
Download Your Data
To download your data:
In the Events view, locate and select the Download (downward arrow) icon.
Choose the file format you would like to download or export, from the menu:
CSV: Download Events data in comma-separated values format in a .csv text file.
JSON Download Events data in JSON format in a .json text file.