# Automating Filebeat configuration setup

**URL:** <https://discuss.elastic.co/t/automating-filebeat-configuration-setup/157110>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 16, 2018, 5:07pm UTC](https://discuss.elastic.co/t/automating-filebeat-configuration-setup/157110 "2018-11-16T17:07:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brett\_Larson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brett_larson/32/37700_2.png) [@Brett\_Larson](https://discuss.elastic.co/u/Brett_Larson)\
**Post date:** [November 16, 2018, 5:07pm UTC](https://discuss.elastic.co/t/automating-filebeat-configuration-setup/157110/1 "2018-11-16T17:07:11Z")

</div>

Hello,  
Is there any built-in way to update the configuration of the filebeat service on Windows? I am looking to update the cloud.auth and cloud.id settings for a large amount of servers after downloading the filebeat tool.

I see that there is a command line settings switch ( **`--E "SETTING_NAME=VALUE"`** ) however it doesn't look like this persists outside of the process.

I have a powershell script that is doing a find and replace of the YAML file but i'd like to simplify it by using the built in command line if possible.

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 14, 2018, 5:07pm UTC](https://discuss.elastic.co/t/automating-filebeat-configuration-setup/157110/2 "2018-12-14T17:07:11Z")

</div>

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