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!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...