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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...