mirror of
https://github.com/elastic/logstash.git
synced 2025-04-19 04:15:23 -04:00
Internal collection doc update to reflect enabling legacy collection. (#17326)
This commit is contained in:
parent
ea99e1db58
commit
8d10baa957
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ To monitor Logstash nodes:
|
|||
3. Configure your Logstash nodes to send metrics by setting `xpack.monitoring.enabled` to `true` and specifying the destination {{es}} node(s) as `xpack.monitoring.elasticsearch.hosts` in `logstash.yml`. If {{security-features}} are enabled, you also need to specify the credentials for the [built-in `logstash_system` user](docs-content://deploy-manage/users-roles/cluster-or-deployment-auth/built-in-users.md). For more information about these settings, see [Monitoring Settings](#monitoring-settings-legacy).
|
||||
|
||||
```yaml
|
||||
xpack.monitoring.allow_legacy_collection: true
|
||||
xpack.monitoring.enabled: true
|
||||
xpack.monitoring.elasticsearch.hosts: ["http://es-prod-node-1:9200", "http://es-prod-node-2:9200"] <1>
|
||||
xpack.monitoring.elasticsearch.username: "logstash_system"
|
||||
|
|
Loading…
Add table
Reference in a new issue