Skip to content

Commit

Permalink
Merge pull request #51 from observIQ/fix-kubernetes-events
Browse files Browse the repository at this point in the history
Fix kubernetes events plugin
  • Loading branch information
camdencheek authored Aug 31, 2020
2 parents 9418653 + b1c6a5f commit 95c89b0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugins/kubernetes_events.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ parameters:
type: strings
default: []

# Set Defaults
# {{$namespaces := default [] .namespaces}}

# Pipeline Template
pipeline:
- type: k8s_event_input
namespaces:
{{ range $i, $ns := .namespaces }}
- {{ $ns }}
{{ end }}
labels:
plugin_id: {{ .id }}
log_type: "k8s.events"
- type: severity_parser
preset: none
parse_from: $record.reason
namespaces: {{ $namespaces }}
perserve: true
preserve: true
mapping:
info:
- Created
Expand Down

0 comments on commit 95c89b0

Please sign in to comment.