# Filebeat Collector Sidecar: How to override collector\_node\_id in config?

**URL:** <https://community.graylog.org/t/filebeat-collector-sidecar-how-to-override-collector-node-id-in-config/7039>\
**Category:** Graylog Central (peer support)\
**Tags:** sidecar\
**Created:** [September 30, 2018, 10:36am UTC](https://community.graylog.org/t/filebeat-collector-sidecar-how-to-override-collector-node-id-in-config/7039 "2018-09-30T10:36:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chluehr](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/chluehr/32/3086_2.png) [@chluehr](https://community.graylog.org/u/chluehr)\
**Post date:** [September 30, 2018, 10:36am UTC](https://community.graylog.org/t/filebeat-collector-sidecar-how-to-override-collector-node-id-in-config/7039/1 "2018-09-30T10:36:36Z")

</div>

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:

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

```

as

```auto
node_name: xxxx

```

but the generated config for filebeat

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

```

uses the system hostname for collector\_node\_id:

```auto
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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [October 14, 2018, 10:36am UTC](https://community.graylog.org/t/filebeat-collector-sidecar-how-to-override-collector-node-id-in-config/7039/2 "2018-10-14T10:36:40Z")

</div>

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