Hi guys,
I’m trying to import some filtered instances from AWS platform into my icinga2 through the aws icinga2 module but a problem regarding the filter I chose appears because it seems to be an array of elements and I need for the filter only one of them.An example from import source preview is bellow:
tags:
{
Application: “PCons”,
Datadog-tag-1: “velo-prd”,
Datadog-tag-2: “cycle-prd”,
Environment: “PRD”,
External-Monitoring: “Datadog”,
ITGroup: “DIGITAL_PLATFORM”,
Name: “PCons-ranch-h-prd-a”,
icinga2: “PCons-ranch-h-prd-a”
}
The question is how can I set the filter in order to extract the tag: “icinga2” and import only hosts that have this tag set and seen in tags property from import source.
Thank you in advance!!!