If your referring to GitHub then I would suggest looking at Graylog.org instead.
As of today 11/10/2022
Graylog Beta 3
EDIT: TBH I’m waiting till the full release of Graylog 5.0 comes out, then I will do the upgrade from 4.3 to 5.0. Even thou it states 4.3 is able to support that version its basically for a smooth upgrade process but I would imaging if you insist on wanting Mongo 5.0 its possible but user beware also if this is a production environment I wouldn’t take the chance. Normally when its posted in the main Graylog documentations I know its good to go then.
Graylog 5 needs at least MongoDB 5.0. Our recommended upgrade path is to first bring your MongoDB to 5.0 and then perform the Graylog upgrade. Hint: Graylog 4.3.x does support MongoDB 5.0, which allows for a seamless upgrade path.
For what it’s worth, I’m running MongoDB 5 with Graylog 4.3 currently.