Skip to content

Commit 5a052b3

Browse files
robbaveykarenzone
andauthored
Fix standalone agent access for agent-driven monitoring (#17386)
* Fix standalone agent access for agent-driven monitoring Change incorrect dedicated instructions, and base them on those from running Elastic Agent in standalone mode. --------- Co-authored-by: Karen Metts <[email protected]>
1 parent 7913f91 commit 5a052b3

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

docs/reference/dashboard-monitoring-with-elastic-agent.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,16 @@ monitoring.cluster_uuid: PRODUCTION_ES_CLUSTER_UUID
3939
::::
4040

4141

42-
::::{dropdown} Create a monitoring user (standalone agent only)
42+
::::{dropdown} Grant agent access to Elasticsearch (standalone agent only)
4343
:name: create-user-db
4444

45-
Create a user on the production cluster that has the `remote_monitoring_collector` [built-in role](elasticsearch://reference/elasticsearch/roles.md).
45+
46+
Minimal permissions required to send Logstash monitoring data to Elasticsearch:
47+
48+
* `monitor` cluster privilege
49+
* `auto_configure` and `create_doc` index privileges on `logs-*` and `metrics-*` indices.
50+
51+
See [Grant standalone Elastic Agents access to Elasticsearch](docs-content://reference/fleet/grant-access-to-elasticsearch.md)
4652

4753
::::
4854

docs/reference/monitoring-with-elastic-agent.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,15 @@ monitoring.cluster_uuid: PRODUCTION_ES_CLUSTER_UUID
4747
::::
4848

4949

50-
::::{dropdown} Create a monitoring user (standalone agent only)
50+
::::{dropdown} Grant agent access to Elasticsearch (standalone agent only)
5151
:name: create-user-ea
5252

53-
Create a user on the production cluster that has the `remote_monitoring_collector` [built-in role](elasticsearch://reference/elasticsearch/roles.md).
53+
Minimal permissions required to send Logstash monitoring data to Elasticsearch:
54+
55+
* `monitor` cluster privilege
56+
* `auto_configure` and `create_doc` index privileges on `logs-*` and `metrics-*` indices.
57+
58+
See [Grant standalone Elastic Agents access to Elasticsearch](docs-content://reference/fleet/grant-access-to-elasticsearch.md)
5459

5560
::::
5661

0 commit comments

Comments
 (0)