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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...