# How to install metricbeat on multiple servers once

**URL:** <https://discuss.elastic.co/t/how-to-install-metricbeat-on-multiple-servers-once/177937>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [April 23, 2019, 5:42am UTC](https://discuss.elastic.co/t/how-to-install-metricbeat-on-multiple-servers-once/177937 "2019-04-23T05:42:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamal1](https://avatars.discourse-cdn.com/v4/letter/k/b9e5f3/32.png) [@kamal1](https://discuss.elastic.co/u/kamal1)\
**Post date:** [April 23, 2019, 5:42am UTC](https://discuss.elastic.co/t/how-to-install-metricbeat-on-multiple-servers-once/177937/1 "2019-04-23T05:42:48Z")

</div>

I have installed beat agents on single machine and I want to get them installed (winlogbeat, metricbeat and filebeat) on 5 more machines in my environment. I don't want to login to each and every machine and install them. I want to run a powershell script or single step installation method to acheive this.

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [April 23, 2019, 11:17am UTC](https://discuss.elastic.co/t/how-to-install-metricbeat-on-multiple-servers-once/177937/2 "2019-04-23T11:17:35Z")

</div>

Are you asking if we have such a script available? In this case the answer would be no but it should be pretty straight forward to create one based on the manual steps you did.

What do you use to deploy other services on the servers?

---

<div class="post-metadata">

**Author:** ![BennyInc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bennyinc/32/21751_2.png) [@BennyInc](https://discuss.elastic.co/u/BennyInc)\
**Post date:** [April 23, 2019, 3:25pm UTC](https://discuss.elastic.co/t/how-to-install-metricbeat-on-multiple-servers-once/177937/3 "2019-04-23T15:25:15Z")

</div>

Being an enthusiastic Ansible user myself, I would recommend giving Ansible a shot to install the beats on Windows. Some pointers:

- [the Ansible Windows guide](https://docs.ansible.com/ansible/latest/user_guide/windows.html)
- [the Ansible windows modules](https://docs.ansible.com/ansible/latest/modules/list_of_windows_modules.html)

You might want to check [the existing Beats Ansible roles](https://github.com/elastic/ansible-beats) and work them into shape for Windows.

---

<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:** [May 21, 2019, 3:25pm UTC](https://discuss.elastic.co/t/how-to-install-metricbeat-on-multiple-servers-once/177937/4 "2019-05-21T15:25:27Z")

</div>

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