Skip to content

Commit

Permalink
Metricbeat, include the logstash port in the metricbeat configuration (
Browse files Browse the repository at this point in the history
…elastic#6279) (elastic#6287)

The YAML for the Logstash module did not include the port, this was
making the module unable to retrieve stats from the logstash host.

Fixes: elastic#6274
(cherry picked from commit d805f94)
  • Loading branch information
ph authored and ruflin committed Feb 10, 2018
1 parent ed0d3a4 commit cdef45f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion metricbeat/docs/modules/logstash.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ metricbeat.modules:
metricsets: ["node", "node_stats"]
enabled: false
period: 10s
hosts: ["localhost"]
hosts: ["localhost:9600"]
----

Expand Down
2 changes: 1 addition & 1 deletion metricbeat/metricbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ metricbeat.modules:
metricsets: ["node", "node_stats"]
enabled: false
period: 10s
hosts: ["localhost"]
hosts: ["localhost:9600"]


#------------------------------ Memcached Module -----------------------------
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/logstash/_meta/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
metricsets: ["node", "node_stats"]
enabled: false
period: 10s
hosts: ["localhost"]
hosts: ["localhost:9600"]

2 changes: 1 addition & 1 deletion metricbeat/modules.d/logstash.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
metricsets: ["node", "node_stats"]
enabled: false
period: 10s
hosts: ["localhost"]
hosts: ["localhost:9600"]

0 comments on commit cdef45f

Please sign in to comment.