Skip to content

Instantly share code, notes, and snippets.

@ragazzid
Created May 18, 2020 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ragazzid/96daceda0eebc817933ae82d8b837174 to your computer and use it in GitHub Desktop.
Save ragazzid/96daceda0eebc817933ae82d8b837174 to your computer and use it in GitHub Desktop.
[sources.s_kafka]
type = "kafka" # required
bootstrap_servers = "mykafka:9600" # required
group_id = "vector_test" # required
# key_field = "message_key" # optional, no default
topics = ["my_topic"] # required
[sinks.o_elastic]
type = "elasticsearch" # required
inputs = ["s_kafka"] # required
auth.strategy = "aws"
# aws.region = "us-east-1"
compression = "none" # optional, default
healthcheck = true # optional, default
host = "https://aws_es_endpoint:443" # optional, no default
index = "vector-%F" # optional, default
May 18 17:01:16.599 ERROR vector: Configuration error: "/tmp/vector/config.toml": unknown field `aws`, expected one of `host`, `index`, `doc_type`, `id_key`, `compression`, `encoding`, `batch`, `request`, `auth`, `headers`, `query`, `tls` for key `sinks.o_elastic`
#
#
#
May 18 17:02:34.184 INFO vector::topology: Running healthchecks.
May 18 17:02:34.303 ERROR vector::topology::builder: Healthcheck: Failed Reason: Unexpected status: 403 Forbidden
May 18 17:02:34.303 ERROR vector::topology: Sinks unhealthy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment