Export whole graylog6.0.7 configuration

Hello Team,
I have deployed graylog 6.0.7 on ubuntu 22 sever, and working as logging fine, but due to storage problems, I need to know if there is a way to export the whole configuration of my current gralog deployment and import it on a clean linux installation?
I am not a developer :slight_smile:
TIA

Hey @mohammad_ramadan,
There are three things you’ll have to migrate:

  • Configuration files of your graylog server (graylog.conf) and data node (datanode.conf).
  • Content of your MongoDB, the graylog database.
  • Actual log data, stored in the data dir of the data node (or opensearch, if you aren’t using data node yet)

If you migrate all these, you should get the same setup. There may be some more things to adapt, like hostnames, TLS certificates if you use them or slight changes due to different versions of the products, if you’ll use the latest versions. Sticking to exact versions of the products will make your migration easier, but then you’ll need to update sooner or later anyway.

If you aren’t using data node yet, this might me the right moment to do the opensearch → datanode migration, which will additionally simplify your setup and makes it future proof.

There are several approaches to data migration - you can stop your indexer and copy the data, you can take snapshots and restore them in your new indexer, you can remote-reindex them from your new indexer… This depends on your needs and possibilities.

Each of the steps requires some admin knowledge, but you don’t have to be a developer to do that.

Feel free to ask if you need more help or hit any road blocks.

Best regards,
Tomas

A second the above, and on top of that, if you have dashboards etc, then create a Contend Pack and select the things you want in to that.

After a full re-installation you get your dashes/inputs etc back up and running when you import your content pack.

sc6

1 Like