monitoringartist / grafana-aws-cloudwatch-dashboards

:cloud: 40+ Grafana dashboards for AWS CloudWatch metrics: EC2, Lambda, S3, ELB, EMR, EBS, SNS, SES, SQS, RDS, EFS, ElastiCache, Billing, API Gateway, VPN, Step Functions, Route 53, CodeBuild, ...
https://grafana.com/orgs/monitoringartist/dashboards
GNU General Public License v3.0
2.05k stars 790 forks source link

not able to get multi value selected in variables (tag filtering) #48

Closed meet101 closed 5 years ago

meet101 commented 5 years ago

Hi, For EC2 dasboard, I am trying to get multiple instances CPU graph in one panel. I can do this with instance id. but can't do with any other tags like instance name. in default EC2 dashboard, has variables instance name and instance id with single value selection and based on it we can populate the graph for that specific instance. in my case, I want to have more then one instances graph in one panel and I want to filter out based on instance name not instance id.

I am able to get multi instances graph if i use only instance id variable by enabling multi-value selection. this works only if I remove instance name variables. In this scenario my variables looks like,

$region | regions() $InstanceId | ec2_instance_attribute($region, InstanceId, {})

now, if I need to figure out how to get instance name and replace it with instance id. I tried multiple options. didn't work. can anyone help me here? I am thinking it's issue because when we select multiple values for specific variable, grafana is not able to parse it properly. do I need regex for this?

Thanks in advance!

jangaraj commented 5 years ago

Sorry, support for customization is not in the scope of this project. Your question should be posted to https://community.grafana.com. Please search there and on Grafana GitHub for similar issues.