# Proper way to upgrade Metricbeat agent

**URL:** https://discuss.elastic.co/t/proper-way-to-upgrade-metricbeat-agent/138521
**Category:** Beats
**Tags:** metricbeat
**Created:** [July 4, 2018, 9:29am UTC](https://discuss.elastic.co/t/proper-way-to-upgrade-metricbeat-agent/138521 "2018-07-04T09:29:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mladen](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@mladen](https://discuss.elastic.co/u/mladen)
#### Post date: [July 4, 2018, 9:29am UTC](https://discuss.elastic.co/t/proper-way-to-upgrade-metricbeat-agent/138521/1 "2018-07-04T09:29:05Z")

</div>

Hello,

Regarding upgrade of Metricbeat I have a few questions:

1. Do I need every time to load Kibana dashboards when install new version of Metricbeat (Is this recommended action)?

2. When doing upgrade from RPM package, is it ok to run install command on RPM package? I am using Ansible for this purpose.

3. After upgrading from 6.2.4 Metricbeat to 6.3.0 version I have noticed that all files are changed except metricbeat.yml file what is ok for me because I don’t need to reconfigure again. This is not the case with file system.yml. So, I'm wondering is it safe to use file system.yml from 6.2.4 version in 6.3.0 version of Metricbeat?

BR,  
Mladen

---

<div class="post-metadata">

### Author: ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)
#### Post date: [July 4, 2018, 2:35pm UTC](https://discuss.elastic.co/t/proper-way-to-upgrade-metricbeat-agent/138521/2 "2018-07-04T14:35:55Z")

</div>

Hi @mladen,

Find the answers to your questions inline.

> [@mladen](#):
>
> - Do I need every time to load Kibana dashboards when install new version of Metricbeat (Is this recommended action)?

It is recommended to run metricbeat setup for any version you use, this creates not only the newer dashboards that could be available, but also the field mapping for metricbeat indexes.

> [@mladen](#):
>
> - When doing upgrade from RPM package, is it ok to run install command on RPM package? I am using Ansible for this purpose.

RPM is a valid installation method.

> [@mladen](#):
>
> - After upgrading from 6.2.4 Metricbeat to 6.3.0 version I have noticed that all files are changed except metricbeat.yml file what is ok for me because I don’t need to reconfigure again. This is not the case with file system.yml. So, I'm wondering is it safe to use file system.yml from 6.2.4 version in 6.3.0 version of Metricbeat?

Yes, in principle it is safe to use the provided configuration files, and in general the behaviour doesn't change between versions. But to be sure, please check the release notes of the specific version you are upgrading to.  
If you are using a configuration management tool like Ansible it can be also a good idea to manage with this the configuration files for the modules you are using.

---

<div class="post-metadata">

### Author: ![mladen](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@mladen](https://discuss.elastic.co/u/mladen)
#### Post date: [July 5, 2018, 1:24pm UTC](https://discuss.elastic.co/t/proper-way-to-upgrade-metricbeat-agent/138521/3 "2018-07-05T13:24:32Z")

</div>

Hi @jsoriano,

thank you for your answers. You help me a lot to understand the install process of Metricbeat.

BR,  
Mladen

---

<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: [August 2, 2018, 1:29pm UTC](https://discuss.elastic.co/t/proper-way-to-upgrade-metricbeat-agent/138521/4 "2018-08-02T13:29:05Z")

</div>

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