Skip to main content
Sumo Logic

Work with Metrics Visualizations

This topic describes actions you can perform with metrics queries and visualization. See the following topics for additional information:

Name your visualization

To assign a name to a visualization, hover over the tab, click the dotted icon, and select Rename. Enter a new name and click Rename.


Add additional visualizations

You can create up to 16 visualizations on the Metrics page. To add a new visualization, click + on the tab bar at the top of the page (see previous figure). The settings on all the tabs are automatically saved and persist if you leave the Metrics page or log out of the Sumo Logic session.

If you have 16 tabs and create a new visualization, it replaces the visualization on the current tab.

Display selected queries

By default, all queries (up to six) are displayed in the chart area on the Metrics page. To hide a query from the chart without deleting it, click the toggle icon to the left of the query. The queries are labeled (A, B, C, and so on).


Display selected data

By default, the chart area displays all of the individual time series that match your queries. Click the Legend tab in the lower area of the page to see a list of all the time series. 

Each time series is presented in the chart with a separate color. The legend shows the line color and style for each time series and the tags that are included in the series. Click an entry in the Time Series column to show the full description.

Click the Visibility icons to show or hide individual time series. 

The Legend also indicates which query (A, B, C, or D) was used to visualize each time series.


Specify the chart type

Open the Settings tab to specify the appearance of the charts in the visualization area. These settings apply to all time series in the current visualization. 


You can select either of these options:

  • Line chart (default).  Displays the data in line charts. You can select the line width (1px default).
  • Area chart. Displays the data in area charts. Specify the line width for the area boundary and whether to display the area charts as stacked (default),

  • or as a percentage of the total (summed values at each time).

Specify the Y axes

Each chart has a primary Y axis on the left and can also have secondary Y axis on the right. Open the Settings tab to name the axes and specify the type of scale and range. 

  • Enter a name for one or both axes.
  • Select linear or logarithmic scale (default is linear).
  • Enter minimum and maximum values to display. By default, Sumo determines a range based on the data. 

The name you give to the left (primary) axis is displayed in the chart area as soon as you enter a value. The right axis is shown only if you associate it with a query (see next section).


Associate queries with Y axes

To associate a query with a Y axis, open the Query tab and click the Gear icon to the right of a query. An area opens for you to select a line type and axis position.


Select Right Axis or Left Axis. If the axis label is not already shown on the chart, it is displayed as soon as you make your selection.

Any queries that are not associated with the right axis are automatically associated with the left axis.


Modify line styles

Open the Query tab and click the Gear icon on the right of a query. An area opens for you to select a line type (dotted, dashed, solid). The line type is changed immediately in the visualization when you make a selection.


Focus on a time series in a visualization

You can focus on a particular time series in a visualization by clicking the line chart for the series. The focus changes to that chart, and the other time series in the visualization are hidden. If outlier bands are enabled, the band for that chart displays.  Click the background or outlier band area to remove the focus and hide the band.  

This capability is supported only for line charts

Select a color palette

You can specify the color palette for your visualization at the time series, query, and chart level. Settings at the query level overwrite settings at the chart level, and settings at the time series level overwrite settings at the query and chart levels.

  • Time series level. Open the Legend tab and click the Gear icon to the right of a time series. Select a palette from the Color Palette menu. To specify a hex value, scroll click Custom Color, and enter a value (example: #29A1E6).
  • Query level. Open the Query tab and click the Gear icon to the right of a query. Select a palette from the Color Palette menu.
  • Chart level. Open the Settings tab. Select a palette from the Color Palette menu under Chart.

Display details for individual values

Hover over a location in the chart area to see the details for an individual reading. The following information is displayed:

  • The number at the top of the details pop-up is the value on the chart (430,859 in the following figure).
  • A date and timestamp are included.
  • The tags that are included in the visualization are listed.


Change the time range

You can specify a time range (for the X axis) relative to the current time, or specify a custom time range. To set time ranges, click the time area near the top of the page.

metrics time relative.png

The current time range is displayed, along with the following options to set the time:

  • Relative. Select an interval relative to the current time. The display is updated as soon as you make a selection.
  • Custom. Click a date to select it as the start date, then move your cursor to the desired end date and click to select it.  The date settings shown below the calendar are updated. You can scroll to navigate between months or click to go to a specific month. 
    To specify the time, highlight the portion of the time value you want to change, and modify the entry.metrics time custom.png
  • Recent. If you have specified any relative or custom time ranges during your current login session, they are available for selection under Recent.

Refresh the display

In most cases, the visualization updates automatically with new data and to reflect changes in settings. To refresh the display on demand, click the metricsvis04.png icon in the upper right corner of the page, and select Refresh Query.