# Upgrade advice

**URL:** <https://discuss.elastic.co/t/upgrade-advice/163517>\
**Category:** Elasticsearch\
**Created:** [January 9, 2019, 11:19am UTC](https://discuss.elastic.co/t/upgrade-advice/163517 "2019-01-09T11:19:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Madhukar](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@Madhukar](https://discuss.elastic.co/u/Madhukar)\
**Post date:** [January 9, 2019, 11:19am UTC](https://discuss.elastic.co/t/upgrade-advice/163517/1 "2019-01-09T11:19:20Z")

</div>

Hi all,

I want to upgrade my cluster from 6.2.4 to 6.5.4 (latest version)

Below are the components:

- 1 master node
- 1 data node
- 1 kibana node
- 1 elastalert engine
- 1 kafka node (Kafka version kafka\_2.11)
- 2 logstash nodes

**Data flow:**

- Logstash1 is collecting data in CEF format from endpoints. Producing the data to Kafka.
- Logstash2 is consuming data from Kafka. Sending to Elasticsearch.
- Kibana is having multiple dashboards for all log sources.
- Elastalert is querying the data continuously for the configured rules.

**My approach:**  
According to [Elastic Support Matrix](https://www.elastic.co/support/matrix#matrix_compatibility), 6.2.4 logstash supports the 6.5.4 version of Elasticsearch. So i am not gonna update logstash for now. Maybe, i'll update it in future, as using old versions reduces the functionality.

So, in this small architecture, I'll do below:

Stopping:

- Stop Logstash2 (Logs are being saved in topics till the time it updates) to prevent data loss when Elasticsearch would not be available to receive data.
- Stop Kibana
- Stop data node
- Stop master node

Updating:

- Update Elasticsearch on master node
- update Elasticsearch on data node
- Update Kibana

Starting:

- Start master node
- Start data node
- Start Logstash2
- Start Kibana node

Please help me with below questions:

- Is this approach good for this architecture?
- Does this upgradation affects the data in the cluster (i.e.dashboards, elastalert rules, kibana objects etc.) ?
- Do I need to upgrade Kafka too?
- What are the recommended steps to upgrade such cluster?

Thanks in advance.

---

<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:** [February 6, 2019, 11:19am UTC](https://discuss.elastic.co/t/upgrade-advice/163517/2 "2019-02-06T11:19:25Z")

</div>

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