Creating a IBM Cloud Logs line chart widget
You can create a line chart widget that can be included in custom IBM® Cloud Logs dashboards.
Create a Line Chart
-
In a custom dashboard, click Add Widget and drag and drop the Line Chart widget from your side bar.
-
Set the definitions for your line chart in the sidebar.
Name & Description: Enter a name and description for your line chart.
Source: Select a data type.
If the data type chosen is metrics, specify the metric or desired PromQL in the Query field.
If the data type chosen is logs or spans, you will need to configure the following fields:
-
Aggregation: Aggregate by Count, Count Distinct, Sum, Min, Max, or Average.
-
Group By: Select any field from the dropdown menu
Add Filter: (Optional) Add a widget filter.
Unlike the dashboard filter in the sidebar which affects the entire dashboard, this filter only affects the widget.
The widget and dashboard filters operate in parallel to one another and intersect. If they negate one another, dashboard filters override widget filters.
Tooltip: Select whether to see all time series when hovering over them, or to see only the single time series you hover over.
Advanced: Create a series name and customize values to be displayed in your legend: Min, Max, Sum, Avg, Last. You have the option to limit the series shown.
-
-
In the Query bar, add a Lucene or PromQL query to query specific information.
-
Click Save to save your widget.