Elasticsearch system

The Elasticsearch system represents the information needed to connect to an Elasticsearch server/cluster for indexing JSON documents. It is used in conjunction with the Elasticsearch sink.

Prototype

{
    "_id": "id-of-system",
    "name": "Name of system",
    "type": "system:elasticsearch",
    "hosts": ["localhost:9200"]
}

Properties

Property

Type

Description

Default

Req

hosts

List<String>

Contains a list of host+port pairs, or full URL to the Elasticsearch server(s)

["localhost:9200"]

Example configuration

{
    "_id": "our-elasticsearch-server",
    "name": "Our Elasticsearch Server",
    "type": "system:elasticsearch",
    "hosts": ["localhost:9200"]
}