From 6512b7b7fb6c83b33183b83b2c064025389a821a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o?= <33425208+Theoooooo@users.noreply.github.com> Date: Sat, 10 Aug 2019 02:18:27 +0200 Subject: [PATCH] Document service account setup for the elasticsearch output (#6224) --- plugins/outputs/elasticsearch/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/outputs/elasticsearch/README.md b/plugins/outputs/elasticsearch/README.md index 2ba46c87e..388183637 100644 --- a/plugins/outputs/elasticsearch/README.md +++ b/plugins/outputs/elasticsearch/README.md @@ -161,7 +161,11 @@ This plugin will format the events in the following way: ## Set the interval to check if the Elasticsearch nodes are available ## Setting to "0s" will disable the health check (not recommended in production) health_check_interval = "10s" - ## HTTP basic authentication details + ## HTTP basic authentication details. + ## If you are using authentication within your Elasticsearch cluster, + ## you need to create a account and create a role with at least the manage role in the Cluster Privileges category. + ## Overwise, your account will not be able to connect to your Elasticsearch cluster and send logs to your cluster. + ## After that, you need to add "create_indice" and "write" permission to your specific index pattern. # username = "telegraf" # password = "mypassword"