Skip to content

Commit

Permalink
Fluentbit host to host relationship (#1840)
Browse files Browse the repository at this point in the history
* feat: added fluent bit host relationship

* fix: updated type in host-to-fluentbit relationship

* fix: changes in relationship

---------

Co-authored-by: vlopeziglesias <[email protected]>
  • Loading branch information
voorepreethi and vlopeziglesias authored Jan 8, 2025
1 parent b66e7e6 commit b5907af
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions relationships/synthesis/INFRA-HOST-to-EXT-FLUENTBIT_HOST.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b5907af

Please sign in to comment.