I’m new in graylog and working on an old graylog update and got stuck in Elasticsearch as my version is not compatible with the next graylog version. I’ve read the documentation but I’m kind of lost in the process.
The documentation says to reindex before update, so I’ve ran the following to check names and noticed multiple indexes, but not sure if they are monthly indexes as mentioned in the ES documentation
Usually graylog _* is associated with the default index set. under system/indices you should find the “Default Index Set” and be able to edit/look at how it is rotated. For reindexing, you can look here for more details on how/why. Make sure you are looking at the right doc version!
Hard to tell if you are following the right direction, it’s not clear what directions you are following or where in the directions you are. Eventually you want to get to OpenSearch as Graylog isn’t supporting Elasticsearch anymore…but don’t go down that road until you are at the right spot in version 4 or 5 of Graylog…
You only need to re-index if the indices were created with a version prior to 5.x. If they were created in a 5.X instance, you can upgrade directly to 6.8 without needing to re-index them.
5.X was able to work with the 2.X indices, 6.X was not. That’s why they were requiring re-indexing of old 2.X indices. If you don’t have any of those, you don’t need to re-index anything.
Yes, Im doing it.
I’m updating all the environment, it was running Graylog 2.5, so I’m trying to move gradually Graylog, ES and Mongo. As everything is new for me, I’m getting some headaches on the way.
You’re very welcome. If you are starting that far back, you might consider starting fresh, rather than trying to upgrade everything. If you don’t have a lot of custom work you need to preserve, it will be easier than the steps through the version chain.
If you have a lot of custom content in Mongo, you can upgrade that in place, after snapshotting of course. Then export the db with mongodump and import it into the new system.
After you’re done, you simply switch over to the new system and keep on trucking. You keep the old system in place for historical searches, until the logs age out and then decommission it for good.