In this project I am going to install and configure system monitoring software Graylog using salt. Beginning the project by setting up master-slave architecture and testing states first with different guest slave. When testing the states, master is guest os ubuntu and slave is guest os ubuntu.
First state is for mongodb.
After mongodb I started installing elasticsearch which was a tricky one. When I tried to edit the conf file of elasticsearch, it kept displaying an error that said file not found. I spent a lot of time trying to debug the problem, but I couldn’t find solution so I moved to install graylog instead.
After all above steps were done, it was time to test if the graylog was functioning. I navigated to webbrowser typed in the slaves ip address and port 9000 which is used by graylog: 192:168.1.33:9000