Homeโ€บ๐Ÿ“Š Dashboard Patternsโ€บModule 21 min read ยท 3/7

Log Analytics Board

Hands-on

Log Analytics Board

Log volume, error trends, top errors, and source breakdown โ€” all in one dashboard.

Tile 1: Total Log Volume (Single Value)

fetch logs | summarize cnt=count()

Tile 2: Error Count (Single Value)

fetch logs | filter loglevel == "ERROR" | summarize cnt=count()

Tile 3: Log Volume by Level (Stacked Area Chart)

fetch logs
| makeTimeseries count=count(), by:{loglevel}

Tile 4: Error Trend (Line Chart)

fetch logs
| filter loglevel == "ERROR"
| makeTimeseries errors=count()

Tile 5: Top Error Messages (Table)

fetch logs
| filter loglevel == "ERROR"
| summarize cnt=count(), by:{content}
| sort cnt desc
| limit 10

Tile 6: Volume by Source (Bar Chart)

fetch logs
| summarize cnt=count(), by:{log.source}
| sort cnt desc
| limit 10

Tile 7: Errors by Host (Table)

fetch logs
| filter loglevel == "ERROR"
| summarize cnt=count(), by:{dt.entity.host}
| sort cnt desc

๐Ÿ’ก The error trend tile is the most important โ€” it shows whether errors are increasing, stable, or decreasing. Pair it with the top error messages table to know what's failing.

๐Ÿ›  Try it: Open a Notebook โ†’ run fetch logs | makeTimeseries count=count(), by:{loglevel} โ†’ click "Open with โ†’ Dashboards" to instantly add this as a dashboard tile. Repeat for each query on this page to build a complete log dashboard.