Skip to main content

Modify a Dashboard Panel Chart

You can customize a chart on a Sumo Logic dashboard panel in many ways by changing its settings. You can even change the chart type to analyze the data in another format. This page shows you how to edit a panel and customize General, Display, Display Overrides, Axes, Legend, and JSON chart settings.

info

Settings vary according to the chart type.

Start by selecting the dashboard panel that has the chart you want to modify.

Edit a panel​

To edit a panel, do the following:

  1. On the chart panel, click the kebab icon.
  2. Select Edit from the dropdown list.
    edit new panel
    The Chart page appears with the panel settings menu bar on the far right. The Display options are shown by default.
    edit panel options

Modify the panel query​

You can modify the panel query to customize the chart. While editing the panel, you can view the applied dashboard variables and edit their values to see how they affect the panel query.

After you adjust the values, re-run the panel query to apply the modified variables.

info

Changes you make to variable values in the panel affect only the current editing session. They are not saved to the dashboard when you finish editing the panel.

Modify general settings​

To modify general settings, click the General icon in the menu bar.
mar 21 general settings

  • To change the name of the chart, click in the Chart Title text box and enter a new name.
  • To change the font size, click the up or down arrows in Title Font Size.
  • To add a helpful description, click in the Description text box and enter a brief explanation of the chart's purpose.

To save your settings and return to the dashboard, click Update Dashboard in the upper right corner of the window.
MC Update dashboard

Logs settings​

You can use receipt time, searchable time, or the default message time.

You can choose the parsing mode: manual or Auto Parse Mode.

dashboard new time settings

You can configure links to other dashboards on a panel. When you select a data point on the panel you can click a linked dashboard. This lets you quickly open related dashboards to investigate further.

  1. Click Add Dashboard Link at the bottom of the general settings menu.
    mar 21 add dashboard link
  2. Click in the Dashboard Name input area and select or enter the name of the dashboard you want the panel to link to.
    • Select Include Metadata if you want the linked dashboard to run with the metadata and variable values of this panel.
    • Select Include Time Range if you want the linked dashboard to run with the time range of this panel.
      Add dashboard link

Modify display settings​

The customizable display settings vary according to the panel and chart type. In this example, you modify a time series chart.

To customize the visual display of a chart, do the following:

  1. Click the Display icon in the menu bar.
    display settings dashboard new
  2. You can change the Panel Type by selecting another type icon.
    panel type change
  3. To change the format of the chart, click Chart Type and select an option from the dropdown list.
    MC_Display_ChartType
  4. To change the colors of the chart, click Color Palette and select an option from the dropdown list.
    MC_Display_Format_ColorPalette
  5. Make selections for the other format options available for the chart type.
    MC_Display_modify
  6. To save your customized settings and return to the dashboard, click Update Dashboard in the upper right corner of the window.
    MC_Update_Dashboard

Group by setting​

Honeycomb charts and categorical column and bar charts from metrics queries have a Group By setting. Use it to group the data in your chart by a dimension that already appears in the output data.
group by setting

Override dashboard displays​

Display overrides let you create panel visualizations that are easier to assess and draw conclusions from. You can override selected display settings to highlight what is most important to monitor.

For example, you may want to set a specific time series to red to show that it represents errors, or overlay two metrics with different axis ranges so you can correlate them. You may also want to rename the legend and tooltip values of a chart for readability and ease of use.

To override dashboard display settings, do the following:

  1. Click the Display Overrides icon in the far right menu bar.
    MC_Display_Overrides_icon
  2. Enter the Query or series name you want to override. This is the letter of the row the query is assigned to, for example #A or #B. The following image shows a metrics and logs query charted together. In the Display Overrides menu the Logs query is referenced as #B to assign it an alias and the color red.
    Logs and Metrics
  3. Enter an Alias, as necessary. Metrics monitors let you specify output metadata as a variable in double curly brackets, {{ }}. For example, if your output metrics have environment, you can specify it in your alias as {{ metric }} on {{ deployment }}.
    Monitor with metrics using metadata in alias
  4. Select a Property from the dropdown list. You can add as many properties as needed.
  5. Optionally, add another override by selecting Add New Override and completing steps 2 to 4.
  6. To save your customized settings and return to the dashboard, click Update Dashboard in the upper right corner of the window.
    MC_Update_Dashboard

Modify the thresholds​

note

This feature is only applicable for table charts.

Thresholds let you define warning and critical levels for a table chart.

  1. Click the Thresholds icon in the far right menu bar.
    Threshold_icon
  2. Click the toggle in the Thresholds pane.
    Thresholds_icon
  3. You can set the thresholds in two ways, Classic or Conditional:
    • Classic:
      1. Configure the appropriate comparator and threshold values, based on your data and requirements. You can choose from the following comparators.
        • greater than. Any value greater than the value you specify will violate the threshold.
        • greater than or equal to. Any value greater than or equal to the value you specify will violate the threshold.
        • less than. Any value less than the value you specify will violate the threshold.
        • less than or equal. Any value less than or equal to the value you specify will violate the threshold.
        • includes. Any value between the two values you specify will violate the threshold.
        • excludes. Any value outside the two values you specify will violate the threshold.
      2. If you toggle the Fill remaining area as green option, the portion of the chart with no thresholds is shaded in green.
        Thresholds_Classic_icon
    • Conditional:
      1. Column. Select the column for which the threshold condition should apply.
      2. Threshold Display. Select how to highlight the table when the condition is breached.
        • Row Background. Highlights the entire row for which the threshold value is breached.
        • Row Text. Highlights the text of the entire row for which the threshold value is breached.
        • Cell Background. Highlights the cell of the selected column for which the threshold value is breached.
        • Cell Text. Highlights only the cell text of the selected column for which the threshold value is breached.
      3. Threshold. Select the color to display when the breach occurs. Then configure the comparator and threshold values.
        • equals. Any value equal to the value you specify will violate the threshold.
        • contains. Any value containing the value you specify will violate the threshold.
        • does not contain. Any value not containing the value you specify will violate the threshold.
        • greater than. Any value greater than the value you specify will violate the threshold.
        • greater than or equal to. Any value greater than or equal to the value you specify will violate the threshold.
        • less than. Any value less than the value you specify will violate the threshold.
        • less than or equal. Any value less than or equal to the value you specify will violate the threshold.
          Threshold_Conditional_icon
        note

        You can add up to 10 threshold conditions.

info

If both thresholds and display overrides are applied to a table chart, display overrides take precedence.

Modify chart axes​

You can change how the X and Y axes appear.

To change the chart axes, do the following:

  1. Click the Axes icon in the far right menu bar.
    Axes option

  2. The Y-Axis has a standard Left Y-Axis and an optional second Right Y-Axis. The Y-Axis has the following main options:

    • Label Font Size. Size of the label font
    • Unit Font Size. Size of the unit font
    • Gridline. Color for the gridline

    The Left Y-Axis is the secondary axis created from your query. It is displayed by default.
    Left Y-axis input

    Enter or modify the following options, as necessary:

    • Scale. Options vary according to chart type
    • Range. Range of data for the axis
    • Label. The name applied to the data.
    • Unit. How the data measurement is expressed. You can choose from various units of measurement.
    • Decimals. Sets the precision of the units displayed. Select the number of decimals to show with a unit, up to 9.

    The Right Y-Axis has the same options as the Left Y-Axis. If you have created a Display Override and set the YAxisType property to Right Y-Axis for a query, you can modify the Right Y-Axis here.
    display override right y-axis

    To display the right Y-axis, select the show axis checkbox.
    show right y-axis

  3. For the X-Axis, you have the following options:

    • Label. The name applied to the data.
    • Label Font Size. Size of the label font.
    • Unit Font Size. Size of the unit font.
      X axisinput
  4. To save your customized settings and return to the dashboard, click Update Dashboard in the upper right corner of the window.
    MC_Update_Dashboard

Modify chart legend​

You can turn the chart legend on or off, choose where it appears, and modify its display properties.

To modify the chart legend, do the following:

  1. Click the Legend icon in the far right menu bar.
    MC_Legend_icon
  2. To hide the legend, move the Show Legend toggle to the left. To show it again, move the toggle to the right.
  3. Specify the Position of the legend by clicking Right or Bottom.
  4. Modify the following Display Properties, as needed:
    • Font Size. Size of the legend font.
    • Max Height. Maximum height of the legend.
    • Show as Table. Turns the table display on or off.
    • Wrap Text. Turns text wrapping on or off.
      MC_Legend_DisplayProperties
  5. To save your customized settings and return to the dashboard, click Update Dashboard in the upper right corner of the window.
    MC_Update_Dashboard

Modify chart JSON​

You can edit the JSON for each chart to customize visual settings beyond the options in the Sumo Logic user interface. You can add settings from canvasJS to the visualSettings section of the JSON.

Sumo Logic does not support changes to chart JSON. You make them at your own risk.

To use custom canvasJS properties on a specific series, add a unsafeCanvasJSProperties block to any display override block.

To modify the JSON of a chart, do the following:
apply changes

  1. Click Update Dashboard in the upper right corner of the window to save your chart customizations.
  2. Click the JSON icon in the menu bar.
  3. Modify the JSON as necessary.
  4. Click Update Preview or Copy To Clipboard.
    DB_CustomChart_JSON option
  5. To save your customized settings and return to the dashboard, click Update Dashboard in the upper right corner of the window.
    MC Update Dashboard option

Values in chart​

To view values inside the chart so you do not need to hover over the chart:
data in chart

use the following JSON:

"overrides": [
{
"series": [],
"queries": [
"A"
],
"userProvidedChartType": false,
"properties": {
"type": "column"
},
"unsafeCanvasJSProperties": {
"bevelEnabled": true,
"indexLabelPlacement": "inside",
"indexLabel": "{y}",
"indexLabelOrientation": "vertical"
}
}
]

Marker visibility​

To make markers more visible in a time series:
enhanced markers in chart

use the following JSON:

"overrides": [
{
"series": [],
"queries": [
"A"
],
"userProvidedChartType": false,
"properties": {
"type": "area",
"name": "area"
},
"unsafeCanvasJSProperties": {
"markerType": "triangle",
"markerColor": "black",
"markerBorderColor": "red",
"markerSize": 10,
"markerBorderThickness": 2
}
}
]

Outside values​

To place values outside the chart so you do not need to hover over the chart:
outside chart values

use the following JSON:

"overrides": [
{
"series": [],
"queries": [
"A"
],
"userProvidedChartType": false,
"properties": {
"type": "bar"
},
"unsafeCanvasJSProperties": {
"bevelEnabled": true,
"indexLabelPlacement": "outside",
"indexLabel": "{y}",
"indexLabelOrientation": "vertical"
}
}
]

Resize data label font size​

To change the font size of data labels in a pie chart:
Data label font size

add this line under the general section:

"general": {
...
"indexLabelFontSize": 8
},

Legal
Privacy Statement
Terms of Use
CA Privacy Notice

© 2010 – 2026 Sumo Logic, Inc.