Skip to content

Commit

Permalink
Disable ilm policy loading by default in setup (#9520)
Browse files Browse the repository at this point in the history
As the ILM policy was loaded by default when run `*beat setup` it required additional permissions to previous versions of Beats. To no require additional permissions now loading the ILM policy is disabled when running `setup`. To load the policy `beat setup --ilm-policy` has to be run.
  • Loading branch information
ruflin committed Dec 13, 2018
1 parent 5d79657 commit 7dfcade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/cmd/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func genSetupCmd(name, idxPrefix, version string, beatCreator beat.Creator) *cob
dashboards = true
machineLearning = true
pipelines = true
policy = true
policy = false
}

if err = beat.Setup(beatCreator, template, dashboards, machineLearning, pipelines, policy); err != nil {
Expand Down

0 comments on commit 7dfcade

Please sign in to comment.