Filter instances

Hi,

i want to monitor specific instance only called 'logz_io':
Can we use filter instances :
i found this example , but it is not working :

   - module: aws
     period: 10s
     metricsets:
         - ec2
     default_region: eu-central-1
     access_key_id: 'xxxxxx'
     secret_access_key: 'xxx+xxxxx'
     tags_filter:
         - key: "Name"
     value: "logz_io"

Hi @Samerd :slight_smile:

Just indentation of the value seems incorrect, check this example https://www.elastic.co/guide/en/beats/metricbeat/7.5/metricbeat-metricset-aws-ec2.html#_configuration_example_3 :

   - module: aws
     period: 10s
     metricsets:
         - ec2
     default_region: eu-central-1
     access_key_id: 'xxxxxx'
     secret_access_key: 'xxx+xxxxx'
     tags_filter:
         - key: "Name"
           value: "logz_io"

it was copy mistake , but in my configuration it was correct (the value was inside the tags_filter)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.