Skip to content

Commit

Permalink
Update reroute processor config (#3175)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4d5a607)
  • Loading branch information
mdbirnstiehl authored and mergify[bot] committed Aug 28, 2023
1 parent c8cdd46 commit 8ef4875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/observability/logs-stream.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ PUT _ingest/pipeline/logs-example-default
},
"reroute": {
"tag": "high_severity_logs",
"if" : "$('log.level', '') == 'WARN' || $('log.level', '') == 'ERROR'",
"if" : "ctx.log?.level == 'WARN' || ctx.log?.level == 'ERROR'",
"dataset": "critical"
}
}
Expand Down

0 comments on commit 8ef4875

Please sign in to comment.