From 7dfcadee70dc6ae2f10143b271341a5da996ab06 Mon Sep 17 00:00:00 2001 From: Nicolas Ruflin Date: Thu, 13 Dec 2018 15:01:04 +0100 Subject: [PATCH] Disable ilm policy loading by default in setup (#9520) 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. --- libbeat/cmd/setup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbeat/cmd/setup.go b/libbeat/cmd/setup.go index fd096a34370..b0ba58b38b1 100644 --- a/libbeat/cmd/setup.go +++ b/libbeat/cmd/setup.go @@ -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 {