diff --git a/relationships/synthesis/INFRA-HOST-to-EXT-FLUENTBIT_HOST.yml b/relationships/synthesis/INFRA-HOST-to-EXT-FLUENTBIT_HOST.yml new file mode 100644 index 000000000..3d4d7aeac --- /dev/null +++ b/relationships/synthesis/INFRA-HOST-to-EXT-FLUENTBIT_HOST.yml @@ -0,0 +1,44 @@ +relationships: + - name: hostHostsFluentbit + version: "1" + origins: + - Prometheus + conditions: + - attribute: eventType + anyOf: [ "Metric" ] + - attribute: metricName + startsWith: "fluentbit_" + - attribute: source + anyOf: [ "host" ] + relationship: + expires: P75M + relationshipType: HOSTS + source: + buildGuid: + account: + lookup: true + domain: + value: INFRA + type: + value: HOST + valueInGuid: NA + identifier: + fragments: + - attribute: host.id + hashAlgorithm: FARM_HASH + target: + buildGuid: + account: + lookup: true + domain: + value: EXT + type: + value: FLUENTBIT_HOST + identifier: + fragments: + - attribute: cluster_name + - value: ":" + - attribute: namespace + - value: ":" + - attribute: daemonset_name + hashAlgorithm: FARM_HASH \ No newline at end of file