Sankey Charts
A Sankey diagram is a type of flow diagram that uses the width of an arrow or stripe to show the proportion of a quantity. In Sumo Logic, a Sankey diagram can represent the flow within a distributed system. For example, you can use it to see how customers move through your website by state, where log events trigger the states. These states can show you how long customers take to complete purchases, or where users leave your site or app.
The Sankey chart works with the transaction operator. When you build your query, you define the edges of the chart's lines. Sumo Logic uses the states in your query to sort each transaction type into the correct flow line.
After you create a Sankey diagram, hover over any line to see more details about the two states it connects, including loop backs. You can also click a line to run a drill-down search on only that data.
Sankey diagrams are named after Irish Captain Matthew Sankey, an engineer who used this type of diagram in 1898 to show the energy efficiency of a steam engine. (Source: sankey-diagrams.com.)
Create a Sankey chart
To add a panel with a Sankey chart:
- Create or open a dashboard and click Add Panel > Categorical.

- Type a supported query in the Search box, including the
fromstateandtostatearguments, and press Enter for it to run. - Once the search results appear, select Sankey from the Chart Type dropdown.

- Modify the chart as desired.
Loop back
The chart tracks loop backs in the order of states and displays them as red lines that loop over the states. Hover over a loop to see how many times each state returned to a previous state.