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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...