Skip to content

Commit

Permalink
Add acceptable event log keys to winlog (#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.
  • Loading branch information
leehinman authored Sep 22, 2020
1 parent 6a130eb commit 499cc94
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 499cc94

Please sign in to comment.