Skip to content

Commit

Permalink
[docs] Simplify and imrove Logstash monitoring docs. (elastic#15847)
Browse files Browse the repository at this point in the history
  • Loading branch information
mashhurs authored Jan 26, 2024
1 parent cefd553 commit 9317052
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/static/monitoring/monitoring-ea-dashboards.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You can enroll {agent} in {fleet-guide}/install-fleet-managed-elastic-agent.html
Complete these steps as you prepare to collect and ship monitoring data for dashboards:

[[disable-default-db]]
.Disable default collection of {ls} monitoring metrics
.Enable {ls} monitoring
[%collapsible]
====
include::monitoring-prereq-disable-default.asciidoc[]
Expand Down
2 changes: 1 addition & 1 deletion docs/static/monitoring/monitoring-ea-serverless.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ We'll provide steps to help you create one.
**Prerequisite**

[[disable-default-svrless]]
.Disable default collection of {ls} monitoring metrics
.Enable {ls} monitoring
[%collapsible]
====
include::monitoring-prereq-disable-default.asciidoc[]
Expand Down
2 changes: 1 addition & 1 deletion docs/static/monitoring/monitoring-ea.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ from a central location, or you can run {fleet-guide}/install-standalone-elastic
Complete these steps as you prepare to collect and ship monitoring data for stack monitoring:

[[disable-default-include-ea]]
.Disable default collection of {ls} monitoring metrics
.Enable {ls} monitoring
[%collapsible]
====
include::monitoring-prereq-disable-default.asciidoc[]
Expand Down
6 changes: 3 additions & 3 deletions docs/static/monitoring/monitoring-mb.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ agent remains active even if the {ls} instance does not.

To collect and ship monitoring data:

. <<disable-default,Disable default collection of monitoring metrics>>
. <<disable-default,Enable {ls} monitoring>>
. <<define-cluster__uuid,Specify the target `cluster_uuid` (optional)>>
. <<configure-metricbeat,Install and configure {metricbeat} to collect monitoring data>>

Want to use {agent} instead? Refer to <<monitoring-with-elastic-agent>>.

[float]
[[disable-default]]
==== Disable default collection of {ls} monitoring metrics
==== Enable {ls} monitoring

--
The `monitoring` setting is in the {ls} configuration file (logstash.yml), but is
Expand All @@ -31,7 +31,7 @@ commented out:
monitoring.enabled: false
----------------------------------

Remove the `#` at the beginning of the line to enable the setting.
Remove the `#` at the beginning of the line and set it to `true` to enable the setting.

--

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// [[disable-default]]
// ==== Disable default collection of {ls} monitoring metrics

The `monitoring` setting is in the {ls} configuration file (logstash.yml), but is
commented out:
Expand All @@ -9,4 +7,4 @@ commented out:
monitoring.enabled: false
----------------------------------

Remove the `#` at the beginning of the line to enable the setting.
Remove the `#` at the beginning of the line and set it to `true` to enable the setting.

0 comments on commit 9317052

Please sign in to comment.