When you configure
an exporter in
elasticsearch.yml, the default
local exporter is disabled.
http exporter uses the low-level Elasticsearch REST Client. This allows
http exporter to send its data to any Elasticsearch cluster it can access
through the network.
http exporter supports a number of settings that control how it
communicates over HTTP to remote clusters. In most cases, it is not
necessary to explicitly configure these settings. For detailed
descriptions, see Monitoring Settings.
xpack.monitoring.exporters: my_local: type: local my_remote: type: http host: [ "10.1.2.3", ... ] auth: username: my_username password: changeme connection: timeout: 6s read_timeout: 60s ssl: ... proxy: base_path: /some/base/path headers: My-Proxy-Header: abc123 My-Other-Thing: [ def456, ... ] index.name.time_format: YYYY-MM
User authentication for those using X-Pack security or some other form of user authentication protecting the cluster.
See HTTP Exporter Settings for all TLS / SSL settings. If not supplied, the default node-level TLS / SSL settings are used.
Optional base path to prefix any outgoing request with in order to work with proxies.
Arbitrary key/value pairs to define as headers to send with every request. The array-based key/value format sends one header per value.
A mechanism for changing the date suffix used by default.