From 42752b7d17e131c194d96cafc2c6905c699f7a30 Mon Sep 17 00:00:00 2001 From: Irene Date: Wed, 31 Mar 2021 19:49:08 +0200 Subject: [PATCH] Add multiple synth rules for ext-service (#150) --- definitions/ext-service/definition.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/definitions/ext-service/definition.yml b/definitions/ext-service/definition.yml index 6f39861e2..b89cdeb61 100644 --- a/definitions/ext-service/definition.yml +++ b/definitions/ext-service/definition.yml @@ -1,11 +1,25 @@ domain: EXT type: SERVICE synthesis: - identifier: service.name - name: service.name - encodeIdentifierInGUID: true - conditions: - - attribute: service.name + rules: + # telemetry with service.name attribute + - identifier: service.name + name: service.name + encodeIdentifierInGUID: true + conditions: + - attribute: service.name + # telemetry with service_name attribute + - identifier: service_name + name: service_name + encodeIdentifierInGUID: true + conditions: + - attribute: service_name + # telemetry with serviceName attribute + - identifier: serviceName + name: serviceName + encodeIdentifierInGUID: true + conditions: + - attribute: serviceName configuration: entityExpirationTime: EIGHT_DAYS alertable: true