diff --git a/relationships/synthesis/APM-APPLICATION-to-INFRA-AWSELASTICSEARCHCLUSTER.yml b/relationships/synthesis/APM-APPLICATION-to-INFRA-AWSELASTICSEARCHCLUSTER.yml index 417a9ddb7..4f326b6d5 100644 --- a/relationships/synthesis/APM-APPLICATION-to-INFRA-AWSELASTICSEARCHCLUSTER.yml +++ b/relationships/synthesis/APM-APPLICATION-to-INFRA-AWSELASTICSEARCHCLUSTER.yml @@ -6,8 +6,8 @@ relationships: conditions: - attribute: eventType anyOf: [ "Span" ] - - attribute: db.system - anyOf: [ "elasticsearch" ] + - attribute: server.address + regex: ^search-[a-zA-Z0-9-]+-[a-zA-Z0-9]+\.([a-zA-Z0-9-]+)\.es\.amazonaws\.com$ relationship: expires: P75M relationshipType: CALLS