Skip to content

Commit

Permalink
Add x-pack:monitoring-http config
Browse files Browse the repository at this point in the history
With this comit we add a config that allows to export monitoring data to
a remote cluster (requires Rally 0.9.0)

Relates elastic/rally#398
  • Loading branch information
danielmitterdorfer committed Jan 17, 2018
1 parent 1b7aa12 commit 7c7be6a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/x_pack/monitoring-http.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[config]
base=internal_base,monitoring

[variables]
xpack_monitoring_enabled=true
6 changes: 6 additions & 0 deletions plugins/x_pack/monitoring/config/elasticsearch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
xpack.monitoring.exporters:
id1:
type: {{monitoring_type}}
host: ["{{monitoring_host}}:{{monitoring_port}}"]
{%- if monitoring_user is defined %}auth.username: {{monitoring_user}}{%- endif %}
{%- if monitoring_password is defined %}auth.password: {{monitoring_password}}{%- endif %}

0 comments on commit 7c7be6a

Please sign in to comment.