Log stream
This section explains how to create log stream dashboard elements and add them to your dashboard.
The log stream dashboard element displays your logs as they come in real-time. Each log appears as a separate line with various details. The benefit of a log stream is that it provides immediate visibility into your system’s operations. When you debug an issue or trying to understand an ongoing event, the log stream allows you to see exactly what’s happening as it occurs.
Prerequisites
- Create an Axiom account.
- Create a dataset in Axiom where you send your data.
- Send data to your Axiom dataset.
- Create an empty dashboard.
Create a dashboard element
- In the sidebar, click Dashboards and open the dashboard to which you want to add the log stream.
- Click Edit dashboard.
- Click Add element in the top right corner.
- Select Log stream from the Add element menu (under Chart > Chart aggregation or Data).
- Choose one of the following:
- Click Builder to create your chart using a visual query builder. For more information, see Create chart using visual query builder.
- Click Editor to create your chart using the Axiom Processing Language (APL). Create a chart in the same way you create a chart in the Editor.
- Optional: Configure the dashboard element.
- Click Save.
The new element appears in your dashboard. In the page header, click Save dashboard to save your changes to the dashboard.
This element does not support metrics datasets.
Example with Builder
Select sample-http-logs and add a filter where method equals GET to display GET requests.

Example with APL
Filter for requests with HTTP status 500:
In Columns, turn off Show raw and select method, status, and content_type under Fields. The log stream displays the timestamp automatically.

Settings
Use the settings panel on the right to configure the log stream element:
- Stream > Wrap lines: Wrap long log lines to fit the viewport width.
- Stream > Highlight severity: Highlight log rows based on their severity level.
- Columns > Show raw: Display raw event data in a single column.
- Columns > Fields: Select specific fields to display as columns.