Skip to content

Testing the `elasticsearch` sink

Stephen Wakely edited this page Jun 2, 2023 · 1 revision

Elasticsearch

Download from here.

Untar the download. cd into that folder.

Edit the config file in config/elasticsearch.yml to have the following settings:

http.port: 9200
xpack.security.enabled: false
xpack.security.http.ssl:
  enabled: false
xpack.security.transport.ssl:
  enabled: false

(Don't turn off the ssl settings if you need to test ssl...)

Then run bin/elasticsearch.

Vector

Setup the following configuration in Vector:

sinks:
  out:
    type: elasticsearch
    inputs:
    - in
    endpoints:
    - http://127.0.0.1:9200