diff --git a/recipes/newrelic/logs/logs.yml b/recipes/newrelic/logs/logs.yml index f52145ec9..95b9714e3 100644 --- a/recipes/newrelic/logs/logs.yml +++ b/recipes/newrelic/logs/logs.yml @@ -16,7 +16,7 @@ keywords: processMatch: - /logs/ -validationNrql: "SELECT count(*) from Log where hostname like '{{.HOSTNAME}}%' SINCE 10 minutes ago" +validationNrql: "SELECT count(*) from Log where hostname like '{{.HOSTNAME}}%' FACET entity.guids SINCE 10 minutes ago" inputVars: - name: "LOG_FILES" diff --git a/recipes/newrelic/logs/windows-logs.yml b/recipes/newrelic/logs/windows-logs.yml index 07f5549d2..05d09d687 100644 --- a/recipes/newrelic/logs/windows-logs.yml +++ b/recipes/newrelic/logs/windows-logs.yml @@ -15,7 +15,7 @@ keywords: processMatch: [] -validationNrql: "SELECT count(*) from Log where hostname like '{{.HOSTNAME}}%' SINCE 10 minutes ago" +validationNrql: "SELECT count(*) from Log where hostname like '{{.HOSTNAME}}%' FACET entity.guids SINCE 10 minutes ago" install: