Skip to content
Discussion options

You must be logged in to vote

Hi,
first thanks for help and providing me some ideas.
I was able to resolve my problem changing deployment type.
Default when installing, Vector is acting as Aggregator, so I reinstall it as agent and it start working with this config:

data_dir: /vector-data-dir
api:
  enabled: true
  address: 127.0.0.1:8686
  playground: false

sources:
  kubernetes_logs:
    type: "kubernetes_logs" 
    auto_partial_merge: true

sinks:
  graylog:
    type: "socket"
    inputs: ["kubernetes_logs"]
    mode: tcp
    address: "graylog_server:12216"
    encoding:
      codec: json

healthchecks:
  enabled: true

also i have to change codec from gelf to json.
Even auto_partial_merge: true work like as charm…

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
1 reply
@ZrytyADHD
Comment options

Comment options

You must be logged in to vote
9 replies
@pront
Comment options

@ZrytyADHD
Comment options

@pront
Comment options

@ZrytyADHD
Comment options

Answer selected by ZrytyADHD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
domain: codecs Anything related to Vector's codecs (encoding/decoding) source: kubernetes_logs Anything `kubernetes_logs` source related
3 participants