Skip to content

Commit

Permalink
parsers: Updates to OpenShift parser-files
Browse files Browse the repository at this point in the history
Various improvements to OpenShift-related parser-files.

Signed-off-by: David Weinehall <[email protected]>
  • Loading branch information
taotriad committed Jul 6, 2023
1 parent 3cf8cea commit bd70925
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parsers/etcd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
- "caller"
- name: "override_severity"
overrides:
- matchtype: "startswith"
matchkey: "Error: \"context\" deadline exceeded"
- matchtype: "regex"
matchkey: "^Error: \"?context\"? deadline exceeded$"
loglevel: "error"
- matchtype: "startswith"
matchkey: "etcd Version"
Expand Down
6 changes: 6 additions & 0 deletions parsers/kube-apiserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@
- matchtype: "regex"
matchkey: 'Flag \S+? has been deprecated'
loglevel: "warning"
- matchtype: "regex"
matchkey: ".*check failed:.*"
loglevel: "warning"
- matchtype: "endswith"
matchkey: "check is not yet complete"
loglevel: "warning"
3 changes: 3 additions & 0 deletions parsers/kube-controller-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
- name: "expand_event"
- name: "override_severity"
overrides:
- matchtype: "startswith"
matchkey: "cluster-policy-controller version"
loglevel: "notice"
- matchtype: "startswith"
matchkey: "Version: v"
loglevel: "notice"
Expand Down
9 changes: 9 additions & 0 deletions parsers/openshift-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
- matchtype: "startswith"
matchkey: "http: TLS handshake error"
loglevel: "error"
- matchtype: "endswith"
matchkey: "failed: backend reported failure"
loglevel: "warning"
- matchtype: "regex"
matchkey: ".*has-synced failed:.*"
loglevel: "warning"
- matchtype: "regex"
matchkey: ".*check failed:.*"
loglevel: "warning"
- name: "openshift-ingress"
show_in_selector: false
matchkeys:
Expand Down
3 changes: 3 additions & 0 deletions parsers/openshift-kube-scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
- matchtype: "empty"
- name: "expand_event"
- name: "key_value_with_leading_message"
options:
versions:
- "version"
- name: "override_severity"
overrides:
- matchtype: "startswith"
Expand Down
1 change: 1 addition & 0 deletions parsers/openshift-service-ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
parser_rules:
- name: "glog"
- name: "expand_event"
- name: "json_with_leading_message"
- name: "key_value_with_leading_message"
- name: "override_severity"
overrides:
Expand Down
6 changes: 6 additions & 0 deletions parsers/route-controller-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@
- pod_name: "route-controller-manager"
parser_rules:
- name: "glog"
- name: "expand_event"
- name: "override_severity"
overrides:
- matchtype: "startswith"
matchkey: "Starting controllers on "
loglevel: "notice"

0 comments on commit bd70925

Please sign in to comment.