Default Sidecar collector in configuration? -- features request

1. Describe your incident:
Hi, Developers,

New to Graylog.
I managed to get a cluster of stateless CentOS 7 nodes installed with graylog-sidecar and filebeats. The feature I would like to have is a default sidecar collector when a new node joins, and persistent node-id:

Eg, when a node reboot, it will boot to the image, and start afresh, and it will rerun the graylog-sidecar -service install and get the new node-id. It will connect to the server, but with a new node-id, so I have to configure it to use the collector, it still shows two entries in the sidecar lists, they should be merged. I have 500+ stateless clients, when they all reboot, they are all treated new(new node-id). So two functions needed:
A: retain the node-id when a node-id file is polluted or lost,
B: ability to set a default sidecar collector config on the server, so nodes will work after reimaging and retained the logs.

I checked around briefly, but don’t find answers immediately. Apologies if I missed it.

Thanks,
Wei

2. Describe your environment:

  • OS Information: CentOS 7.9 3.10.0-1160.45.1.el7.x86_64

  • Package Version:
    graylog -4.2-repository-1-4.noarch

graylog -server-4.2.6-1.noarch

filebeat -8.0.0-1.x86_64

graylog -sidecar-1.1.0-1.x86_64

graylog -sidecar-repository-1-2.noarch

  • Service logs, configurations, and environment variables:
    NA

3. What steps have you already taken to try and solve the problem?
NA

4. How can the community help?
A: retain the node-id when a node-id file is polluted or lost,
B: ability to set a default sidecar collector config on the server, so nodes will work after reimaging and retained the logs.

Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]

Hello && Welcome @wei.guo

I was going to suggest something but realized you running a stateless environment. I see why you get a new node-id. Only thing I can suggest right now is to ask this question here.

Unless someone here has done this.

Thanks @gsmith. I will open an issue there.

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