Dashboards & Visualizations

Pie Chart with Number + DrillDown click.value

CcCcCcCcCc1
New Member

https://answers.splunk.com/answers/562629/how-to-configure-pie-chart-to-display-count-within.html

same as above post, would like to have a pie chart with its count, so followed the post and its work, it can show the Count in Pie Chart

...  | stats Count by Severity  | eval SeverityCount=Severity." : ".Count  | fields SeverityCount, Count

Beside, we still have a token to Pass the Severity Critical/High/Medium to chart 2 for drilldown base on what we click

unfortunately, it's now passing Critical : 25 instead of passing Critical to chart 2 when we click on it, which cause the chart 2 not working.

    <drilldown>
    <set token="Severity">$click.value$</set>
    </drilldown>

would like to seek any way can fulfill both requirements ( Show Count in Pie Chart + Pass the correct Value to Chart 2 ) ? 😐

alt text

0 Karma
1 Solution

vnravikumar
Champion

Hi

Try with

        <drilldown>
          <eval token="test">replace('click.value',"(:[^:]+)$","")</eval>
        </drilldown>

View solution in original post

vnravikumar
Champion

Hi

Try with

        <drilldown>
          <eval token="test">replace('click.value',"(:[^:]+)$","")</eval>
        </drilldown>

CcCcCcCcCc1
New Member

Awesome, it's solved !!! thx Bro 🙂

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...