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 December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...