Elasticsearch and Kibana upgrade to v8.12.0 from v8.0.0

Hi Team,

We are planning to upgrade elasticsearch and Kibana to v8.12.0 from v8.0.0
For beats and ELK communication wea re using ssl true and we are using API key in yaml file of beats like metricbeat.

Wanted to know if i upgrade elasticsearch and Kibana to new v8.12.0 from old v8.0.0 will it delete the API key as this will impact all beats real time data and we have to recreate the api key and replace in beats yaml files too.

Need expertise so that we do not get downtime on monitoring.

Hi!

No it doesnt delete the api keys.

When you update a cluster you must update first the data nodes and after all are up you restore your master nodes starting for the not ruler master.

###################Updating version########################

###step 1
PUT _cluster/settings
{
  "persistent": {
    "cluster.routing.allocation.enable": "primaries"
  }
}


### step 2
POST _flush


## this comand in kibana console show the last master node you must restore it apears with a "*" see the image below
GET _cat/nodes


##step 3 stop the service
##step 4 update the service
##step 5 start the service

## step 6 
PUT _cluster/settings
{
  "persistent": {
    "cluster.routing.allocation.enable": null
  }
}

##step 7 every time you restart a data node and execute step 6 do NOT start the esteps until this (step 7) show in the response "100% green"  ==> "... culster_name green .....100.0%"
GET _cat/health

## To restore de Master node (with no data role) only use the steps 3, 4 and 5
## remenber that restart the last master that when execute "GET _cat/nodes" you see a "*"  like the image below

################### END ########################

image

Use this guide to update your cluster : Update elasticsearch

Thanks @cperzrt10 so we will simply use new version image in docker-compose file for elastic and kibana.

Also will it impact the current dashboards ? if yes will export all the dashboard and once upgarde is done will import it back.

Hi.

To make sure you must do a snapshot of all data. I'm not sure that if you export the dashboards, update and import that it works by the changes of the versions.

Upgrade Kibana

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