I have downloaded it and try to connect it, however it fail to connect.
Understanding that this is not your product, but will you be able to guide me on how to make it connect.
As for the server.conf I try to see the configuration on it, I only able to see the following that is related to mongodb.
So this post explains how to create a user and turn on remote connectivity, but it is not Graylog specific (mongo is local only by default) however if you follow this then you will need to change the Graylog server.conf to have it also use that account to connect as it will now be required. Also use your firewall to limit access, you do not want someone hacking your MongoDB.
I have try using the mongo however, it show me the following error:
user1@graylog01:/etc/graylog/server$ mongo
Command 'mongo' not found, did you mean:
command 'mono' from deb mono-runtime (6.8.0.105+dfsg-3.2)
Try: sudo apt install <deb name>
The funny thing is, I did not see any mongodb inside my /var/lib folder. I have install my mongoDB on my Ubuntu using all the command on the Graylog installation guide.
Do correct me if I wrong. So after creating the user and edit it on my graylog server.conf, will my Graylog configuration be missing? Or my Graylog will be still working fine?
It’s possible that you are on a different mongo version than the article, so you may need a slightly different command because of that, they changed some of them I little while back.
Once you have forced user accounts to be needed to login to mongo, if you don’t add that account to your Graylog config then it won’t be able to access mongo and Graylog will not work.