We needed to install the pwgen software for generating the passwords secret keys in the software. We will install the Graylog server using the below command # yum -y install graylog-server Network.host: localhost Starting the Elasticsearch # systemctl restart elasticsearch Installing Graylog ServerĪs we have installed all the dependencies we will now install the Graylog Server.įirst, we will download the Graylog server software using the RPM command, run the below command to download the. # vi /etc/elasticsearch/elasticsearch.ymlįind the cluster.name section and add the cluster name as graylog-server and also find the section network.host and add the losthost to that section so that others can access the Elasticsearch and shut down. Once, we install the elasticsearch we needed to edit the configuration file. Name=Elasticsearch repository for 1.7.x packagesĪfter adding the repo to the local yum, we need to install the package using the below command – We can install the package with the bellow command by adding the repo to the local yum repositories. Graylog2 only works with the pre-2.0 version of Elasticsearch so we will install the Elasticsearch 1.7.x. # rm ~/jdk-8u*-linux-圆4.rpm Installing the Elasticsearch # yum -y localinstall jdk-8u73-linux-圆4.rpm # wget -no-cookies -no-check-certificate -header "Cookie: gpw_e24=http%3A%2F%2Foraclelicense=accept-securebackup-cookie" "" We can download and install by using the below command, after installation, we can delete the source files. So, we will install the Java on the server. Now, we shall install Java since Elasticserach and Logstash both requires the Java. We can see that MangoDB is up and running. Starting the MongoDB # systemctl restart mangod We will install the stable version of MangoDB from the server # yum install -y mongodb-org # rpm -import Īdding the MangoDB repo source. To get the public key we needed to run the below command. Installing MangoDBįirst, we needed to import the public GPC key into the RPM. Prerequisitesįor the demo purpose, we needed CentOS 7 server with 2GB RAM with User having root user permissions. Web Interfaces − This is the main user interface. GrayLog Server Node − Server mainly receives and processes the messages and communicates with the non-servers components.Įlastic search Nodes − This will store the messages and logs. Graylog is a log management and analysis tool that can be used in many cases, for monitoring the SSH logins and unusual activity for debugging applications and logs, the uses Elasticsearch, Java and MangoDB. In this article we will configure and install the Graylog 1.3 (which is also referred as Graylog2) on CentOS 7, Graylog gathers the syslog’s of the machines into a centralized location.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |