Dashboards & Visualizations

Unable to show Instance type ?

Path Finder
My task :
1)Create a dashboard
2)Show the Instance id, Instance type and CPUCreditBalance
but Unable to show Instance type I have attached the query below
index=main metric_name=CPUCreditBalance | timechart eval(round(avg(Average),2)) by metric_dimensions where max in top10
Any changes need in these queries?
Screenshot from 2021-04-11 16-35-16.png
Labels (1)
0 Karma


So, I am assuming you want to have X-axis as _time and y axis as average CPU credit balance.

What time granularity do you want? (Use timechart span=XX where XX is the granularity (1m, 1h, 15m etc)

If you want to show the legend as the type/instance id then just create a new field like this

| eval name=instance_type.":".metric_dimensions

and use name as the split by field. instance_type will be the field that defines your instance type


0 Karma

Path Finder

No. I didn't get answer

0 Karma
Get Updates on the Splunk Community!

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...

Reminder! Splunk Love Promo: $25 Visa Gift Card for Your Honest SOAR Review With ...

We recently launched our first Splunk Love Special, and it's gone phenomenally well, so we're doing it again, ...