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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...