Dashboards & Visualizations

Unable to show Instance type ?

Dhanaskv
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

bowesmana
SplunkTrust
SplunkTrust

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

Dhanaskv
Path Finder

No. I didn't get answer

0 Karma
Get Updates on the Splunk Community!

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...