Skip to content

Commit

Permalink
Merge pull request #143 from newrelic/fix/log-facet-nrql
Browse files Browse the repository at this point in the history
Adding validationNrql for log recipes.
  • Loading branch information
Julien4218 authored Jan 22, 2021
2 parents 37d37ae + 7f021b2 commit 65c3005
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipes/newrelic/logs/logs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion recipes/newrelic/logs/windows-logs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 65c3005

Please sign in to comment.