elastic / logstash

Logstash - transport and process your logs, events, or other data
https://www.elastic.co/products/logstash
Other
14.09k stars 3.48k forks source link

Monitor with metricbeat docs are unclear #11351

Open thekofimensah opened 4 years ago

thekofimensah commented 4 years ago

https://www.elastic.co/guide/en/logstash/7.4/monitoring-with-metricbeat.html#disable-default It's unclear if the only thing to do is to uncomment the line or to uncomment and change to true. I still can't figure it out :D

kares commented 4 years ago

seems clear to me - your in the Disable default collection of Logstash monitoring metrics section

The monitoring setting is in the Logstash configuration file (logstash.yml), but is commented out: xpack.monitoring.enabled: false

thus you want to set it to false

but if you have a better suggestion I would update and issue a PR

thekofimensah commented 4 years ago

So when it is commented out, and one does nothing, it is set to true by default?

On Wed, 4 Mar 2020 at 00:49, Karol Bucek notifications@github.com wrote:

seems clear to me - your in the Disable default collection of Logstash monitoring metrics section

The monitoring setting is in the Logstash configuration file (logstash.yml), but is commented out: xpack.monitoring.enabled: false

thus you want to set it to false

but if you have a better suggestion I would update and issue a PR https://github.com/elastic/logstash/blob/master/docs/static/monitoring/monitoring-mb.asciidoc#disable-default

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/elastic/logstash/issues/11351?email_source=notifications&email_token=AFSNDF2LBWFDOGKUJWESLRLRFYIZLA5CNFSM4JR7POK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENW4RCI#issuecomment-594397321, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSNDF3ORSQ4DFZ2SPAQ7NDRFYIZLANCNFSM4JR7POKQ .