Skip to content

Commit

Permalink
Add dashboards to the list of configuration options (#3551)
Browse files Browse the repository at this point in the history
  • Loading branch information
monicasarbu authored and tsg committed Feb 7, 2017
1 parent 68458ea commit 60e7999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions winlogbeat/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func (s Settings) Validate() error {
"name", "refresh_topology_freq", "topology_expire", "geoip",
"queue_size", "bulk_queue_size", "max_procs",
"processors", "logging", "output", "path", "winlogbeat",
"dashboards",
}
sort.Strings(validKeys)

Expand Down
2 changes: 1 addition & 1 deletion winlogbeat/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func TestConfigValidate(t *testing.T) {
},
map[string]interface{}{"other": "value"},
},
"1 error: Invalid top-level key 'other' found. Valid keys are bulk_queue_size, " +
"1 error: Invalid top-level key 'other' found. Valid keys are bulk_queue_size, dashboards, " +
"fields, fields_under_root, geoip, logging, max_procs, " +
"name, output, path, processors, queue_size, refresh_topology_freq, tags, topology_expire, winlogbeat",
},
Expand Down

0 comments on commit 60e7999

Please sign in to comment.