The elastic_output
operator will send entries to an Elasticsearch instance
Field | Default | Description |
---|---|---|
id |
elastic_output |
A unique identifier for the operator |
addresses |
required | A list of addresses to send entries to |
username |
Username for HTTP basic authentication | |
password |
Password for HTTP basic authentication | |
cloud_id |
Endpoint for the Elastic service (https://elastic.co/cloud) | |
api_key |
Base64-encoded token for authorization. If set, overrides username and password | |
index_field |
default | A field that indicates which index to send the log entry to |
id_field |
A field that contains an id for the entry. If unset, a unique id is generated | |
buffer |
A buffer block indicating how to buffer entries before flushing | |
flusher |
A flusher block configuring flushing behavior |
Configuration:
- type: elastic_output
addresses:
- "http://localhost:9200"
api_key: <my_api_key>
Configuration:
- type: elastic_output
addresses:
- "http://localhost:9200"
api_key: <my_api_key>
buffer:
type: disk
path: /tmp/stanza_buffer
flusher:
max_concurrent: 8