# How configuration is applied to sidecard?

**URL:** https://community.graylog.org/t/how-configuration-is-applied-to-sidecard/13717
**Category:** Graylog Central (peer support)
**Tags:** sidecar
**Created:** [January 31, 2020, 1:01pm UTC](https://community.graylog.org/t/how-configuration-is-applied-to-sidecard/13717 "2020-01-31T13:01:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![raphaeljpb](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/raphaeljpb/32/5684_2.png) [@raphaeljpb](https://community.graylog.org/u/raphaeljpb)
#### Post date: [January 31, 2020, 1:01pm UTC](https://community.graylog.org/t/how-configuration-is-applied-to-sidecard/13717/1 "2020-01-31T13:01:18Z")

</div>

I’m running sidecar as a container with docker in a swarm environment. Eventually, containers may finalize due many reasons (restart service, etc.). I’m trying to figure out how to apply configuration automatically, without using graylog UI.  
When container starts, the log shows “No configurations assigned to this instance. Skipping configuration request.”. So, is it possible to reuse an existing configuration of a dead container? How configurations are loaded? By node\_id?

---

<div class="post-metadata">

### Author: ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)
#### Post date: [January 31, 2020, 2:19pm UTC](https://community.graylog.org/t/how-configuration-is-applied-to-sidecard/13717/2 "2020-01-31T14:19:35Z")

</div>

he @raphaeljpb

check the documentation on that: [http://docs.graylog.org/en/latest/pages/sidecar.html#step-by-step-guide](http://docs.graylog.org/en/latest/pages/sidecar.html#step-by-step-guide)

The configuration is applied based on the collector to the sidecar - you need to make API call to Graylog to assign the configuration.

---

<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: [February 14, 2020, 2:19pm UTC](https://community.graylog.org/t/how-configuration-is-applied-to-sidecard/13717/3 "2020-02-14T14:19:35Z")

</div>

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