Skip to content

Commit

Permalink
Update fluentbit filter regex (openservicemesh#1920)
Browse files Browse the repository at this point in the history
  • Loading branch information
SanyaKochhar authored Oct 26, 2020
1 parent 0be40ed commit 2856723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/osm/templates/fluentbit-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ data:
[FILTER]
name grep
match *
regex $message['level'] error
regex message /"level":"error"/
[OUTPUT]
Name stdout
Match *
Expand Down
2 changes: 1 addition & 1 deletion docs/patterns/observability/logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You may configure log forwarding to an output by following these steps _before_
[FILTER]
name grep
match *
regex $message['level'] error
regex message /"level":"error"/
```

4. Once you have updated the Fluent Bit configmap, you can deploy the sidecar during OSM installation using the `--enable-fluentbit` flag. You should now be able to interact with error logs in the output of your choice as they get generated.
Expand Down

0 comments on commit 2856723

Please sign in to comment.