Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Sorting and ordering
By default the graphs are sorted by most relevant, where we prioritise graphs with more volatile data or the largest volume of data. For example, the graphs with the most spikes or dips will be shown first.
Some pages in Grafana Logs Drilldown can display a large number of graphs. You may want to sort the graphs differently, depending on what you’re looking for.
On the Label tab, you can use the Newest first and Oldest first buttons to change the direction of the sort in the Logs view.

Once you select a specific label or field, you can sort the graphs. When you have the option to sort graphs, there are several different ways you can sort your log data.
Some pages let you modify the default sort order using the Sort by menu in the top right toolbar.
Sort by option | Description |
---|---|
Most relevant | Sorts graphs based on the most significant spikes in data. |
Outlying values | Sorts graphs by the amount of outlying values in the data. |
Widest spread | Sorts graphs by deviation from the average value. |
Name | Sorts graphs alphabetically by name. |
Count | Sorts graphs by total number of logs. |
Highest spike | Sorts graphs by the highest values (max). |
Lowest dip | Sorts graphs by the smallest values (min). |
Percentiles | Sorts graphs by the nth percentile. |
Note
We are keen to improve this feature, so please contact us if there is something that would help you find the signal in the noise.