HTTP Exporter

When you configure an exporter in elasticsearch.yml, the default local exporter is disabled.

The http exporter uses the low-level Elasticsearch REST Client. This allows the http exporter to send its data to any Elasticsearch cluster it can access through the network.

The 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.

    type: local
    type: http
    host: [ "", ... ] 
      username: my_username
      password: changeme
      timeout: 6s
      read_timeout: 60s
    ssl: ... 
      base_path: /some/base/path 
      My-Proxy-Header: abc123
      My-Other-Thing: [ def456, ... ] YYYY-MM 

A local exporter defined explicitly whose arbitrary name is my_local.

An http exporter defined whose arbitrary name is my_remote.

host is a required setting for http exporters, which can take a few different forms. See HTTP Exporter Settings.

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.