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.
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 ########################
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.