Skip to main content

Scatter Charts

Scatter charts are available in Sumo Logic dashboards.

Scatter charts display two independent numeric fields so you can see any correlation between them. You can visually determine how your fields relate to each other.

The aggregate field appears as a collection of points. Each point requires two numeric fields for the X and Y axes.

  • The X dimension needs to be numeric. It is plotted on the X axis of the scatter chart.
  • The Y dimension needs to be numeric. It is plotted on the Y axis of the scatter chart.

You can modify the fields used for each axis as needed.

For example, in the following query, logins is the aggregate field and appears as the data points. You can use the latitude and longitude fields as the X and Y dimensions.

=service "message=User logged in" remote_ip
| parse "[remote_ip=*]" as remote_ip
| lookup latitude, longitude from geo://location on ip = remote_ip
| count as logins by latitude, longitude

Create a Scatter chart​

To add a panel with a scatter chart:

  1. Create or open a dashboard and click Add Panel > Categorical.
    categorical
  2. Enter your aggregate search query in the text box and press Enter for it to run. Only search results that have been aggregated using a group or aggregate operator can be charted. See Group or Aggregate Operators for a list.
    Add log query
  3. After the query runs, change the chart type to Scatter and set your X and Y Axis Dimensions.
    scatter chart
  4. Modify the chart as desired.
  5. Click the Add to Dashboard button on the top right of the window to add the panel to your dashboard.
    Add to Dashboard button
Legal
Privacy Statement
Terms of Use
CA Privacy Notice

© 2010 – 2026 Sumo Logic, Inc.