Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove filter for event reason, only filter by whether service name is empty or not #10

Merged
merged 3 commits into from
May 27, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/default-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#

filters:
- reason: "Started|Killing" # filter events of the specified reason, regular expression like "Killing|Killed" is supported.
- reason: "" # filter events of the specified reason, regular expression like "Killing|Killed" is supported.
message: "" # filter events of the specified message, regular expression like "Pulling container.*" is supported.
minCount: 1 # filter events whose count is >= the specified value.
type: "" # filter events of the specified type, regular expression like "Normal|Error" is supported.
Expand Down
6 changes: 3 additions & 3 deletions examples/debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
#

filters:
- reason: "Started|Killing" # filter events of the specified reason, regular expression like "Killing|Killed" is supported.
- reason: "" # filter events of the specified reason, regular expression like "Killing|Killed" is supported.
message: "" # filter events of the specified message, regular expression like "Pulling container.*" is supported.
minCount: 1 # filter events whose count is >= the specified value.
type: "" # filter events of the specified type, regular expression like "Normal|Error" is supported.
action: "" # filter events of the specified action, regular expression is supported.
kind: "Pod|Service" # filter events of the specified kind, regular expression like "Pod|Service" is supported.
kind: "" # filter events of the specified kind, regular expression like "Pod|Service" is supported.
namespace: "default" # filter events from the specified namespace, regular expression like "default|bookinfo" is supported, empty means all namespaces.
name: "" # filter events of the specified involved object name, regular expression like ".*bookinfo.*" is supported.
service: "[^\\s]{1,}" # filter events belonging to services whose name is not empty.
service: "" # filter events belonging to services whose name is not empty.
kezhenxu94 marked this conversation as resolved.
Show resolved Hide resolved
exporters: # events satisfy this filter can be exported into several exporters that are defined in the `exporters` section below.
- console

Expand Down