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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...