Skip to content

Commit

Permalink
Add acceptable event log keys to winlog (elastic#21205)
Browse files Browse the repository at this point in the history
when running filebeat under elasti-agent 'id', 'meta' and 'revision'
are sent as config keys to the winlog input type.  This change allows
those config keys to pass validation.

(cherry picked from commit 499cc94)
  • Loading branch information
leehinman committed Sep 30, 2020
1 parent 7e2c03d commit 22226a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winlogbeat/eventlog/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

var commonConfigKeys = []string{"type", "api", "name", "fields", "fields_under_root",
"tags", "processors", "index"}
"tags", "processors", "index", "id", "meta", "revision"}

// ConfigCommon is the common configuration data used to instantiate a new
// EventLog. Each implementation is free to support additional configuration
Expand Down

0 comments on commit 22226a7

Please sign in to comment.