All Apps and Add-ons

Sankey Diagram - Increase limit of tooltip source and targets

chrisabell
New Member

I am using Sankey to track source and targets using both status code errors and counts. It works fine however I would like to know how to lift the limit of 3 items in the group along with the totals for "Others". The rollup is hiding data which I would like to see in the tooltip.

0 Karma

chrisabell
New Member

I found the following in sankey_diagram.js.

//Sort and only allow top 3 and put the rest in "Others" bucket.
var MAX_TOOLTIP_VALUES = 3;

By changing that value you can get more results however the Viz does not really balance without making significant changes. It works if you double it however it starts getting too big.

Also, it does not help by hooking it up to a variable in the general tab as the tooltip rendering is not really designed to be dynamic. It would take some work to make that happen.

That being said I have my immediate answer and when I find the time I will investigate further.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...