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
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
  • Loading branch information
ph committed Feb 5, 2018
1 parent 713c41e commit 0c2db5d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di
- De dot keys in jolokia/jmx metricset to prevent collisions. {pull}5957[5957]
- Support to optionally 'de dot' keys in http/json metricset to prevent collisions. {pull}5970[5970]
- De dot keys in kubernetes/event metricset to prevent collisions. {pull}6203[6203]
- Fix the default configuration for Logstash to include the default port. {pull}6279[6279]

*Packetbeat*

Expand Down
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 @@ -312,7 +312,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 0c2db5d

Please sign in to comment.