Upgrade graylog from version 3.2.4 to latest version without losing data

currently, my Graylog is working on VM.

my Gralog version is 3.2.4 and now I want to upgrade it to the latest version without losing any of my data.

so I have tried locally to set up the 3.2.X version and put some dummy data in it. take backup of MongoDB, elasticsearch and graylog individually using mongodump, snapshot, content-pack methods respectively, and after I upgrade graylog to the latest version. but when I’m trying to restore the data some of the data get failed to restore in mongo and also in graylog content-pack. also dashboard configuration was not restored.

can someone guide me on this. how can I upgrade my graylog to the latest version without losing any of the data and current configuration?

1 Like


Correct me if I’m wrong, Are you migrating Indices and MongoDb database to a newer version of graylog? If so, there are a few examples here

If not, you should be able to use the package handler on your OS here

I upgrade my Graylog server 4.2 to 4.3 as followed.

root # yum update

Execute a restart for GL service. Be aware, there have been changes in 4.3.
Might want to check out this before upgrading.

Mostly it is advised to follow the upgrade path, download the package updates, and check the server conf file for changes if they appear. Update elasticsearch to the required version if needed.

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