-
Create a new dashboard by clicking Create > Dashboard.
-
In the “New Panel” box, select the “Add Query” icon.
-
From the Query dropdown, select "Scalyr Grafana Datasource".
-
Select Standard query for the query type.
-
Configure options:
- Function: You are given a list of the function that can be applied to the field values. DataSet graphFunctions documentation is a good resource to see the list of supported functions.
- Field: The name of the event field to be graphed.
- Conversion Factor: (Optional) Value to multiply the values of the graph, useful for converting units.
- Label: (Optional) Label for the query. This is displayed as the series title in the graph legend. Same value as the
Query
field by default. - Filter: Specifies which events to match. This field supports DataSet query syntax.
- DataLink URL: A read-only generated field, this link can be copied to a new DataLink (at the end of the Visualization section). This DataLink will go to the logs in the DataSet used to create this graph.
-
Fill out all the fields and click the save button. In the image below, we’ve added a query to graph CPU Utilization. In general, if you have used graphs and dashboards within DataSet, you should be able to port those over to Grafana using the same DataSet query syntax.
You’ve successfully installed, configured, and created a graph in Grafana using DataSet data!
Note: You can add multiple queries to a visualization to plot multiple series on the same graph.
Comments
0 comments
Please sign in to leave a comment.