Filebeat Collector Sidecar: How to override collector_node_id in config?


(Christoph Lühr) #1

How to configure the Graylog collector sidecar to get a custom collector_node_id in the Filebeat configuration?

I am on Graylog Collector Sidecar version 0.1.6 and configured the collector sidecar node_name in:

/etc/graylog/collector-sidecar/collector_sidecar.yml

as

node_name: xxxx

but the generated config for filebeat

/etc/graylog/collector-sidecar/generated/filebeat.yml

uses the system hostname for collector_node_id:

filebeat:   prospectors:
  - encoding: plain
    exclude_files: []
    fields:
      collector_node_id: my-hostname-not-xxxx

Is it possible to force a collector_node_id to be set as xxxx instead?


(system) #2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.