github.com/observiq/carbon@v0.9.11-0.20200820160507-1b872e368a5e/docs/operators/elastic_output.md (about)

     1  ## `elastic_output` operator
     2  
     3  The `elastic_output` operator will send entries to an Elasticsearch instance
     4  
     5  ### Configuration Fields
     6  
     7  | Field         | Default          | Description                                                                                           |
     8  | ---           | ---              | ---                                                                                                   |
     9  | `id`          | `elastic_output` | A unique identifier for the operator                                                                  |
    10  | `addresses`   | required         | A list of addresses to send entries to                                                                |
    11  | `username`    |                  | Username for HTTP basic authentication                                                                |
    12  | `password`    |                  | Password for HTTP basic authentication                                                                |
    13  | `cloud_id`    |                  | Endpoint for the Elastic service (https://elastic.co/cloud)                                           |
    14  | `api_key`     |                  | Base64-encoded token for authorization. If set, overrides username and password                       |
    15  | `index_field` | default          | A [field](/docs/types/field.md) that indicates which index to send the log entry to                   |
    16  | `id_field`    |                  | A [field](/docs/types/field.md) that contains an id for the entry. If unset, a unique id is generated |
    17  
    18  
    19  ### Example Configurations
    20  
    21  #### Simple configuration
    22  
    23  Configuration:
    24  ```yaml
    25  - type: elastic_output
    26    addresses:
    27      - "http://localhost:9200"
    28    api_key: <my_api_key>
    29  ```