Dashboards & Visualizations

How to pass different field value for drilldown on piechart?

nisu
Explorer

query : sourcetype=test | chart count by type, vendor | eval type_with_vendor=type.":".vendor | fields type_with_vendor, count, type

I want to show type_with_vendor and count on chart and pass type value on drilldown. How to do this? Is it any way to do?

Any help would be appreciated.

0 Karma

niketn
Legend

@nishu... How about reversing your eval and chart command.

sourcetype=test 
| eval type_with_vendor=type.":".vendor
| chart count by type, vendor 
| sort - count
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...