It’s often compared to other NoSQL databases like Cassandra or CouchDB. When data is stored in dynamic schemas (JSON-like documents), it makes the integration of data into certain kinds of applications simpler and quicker. Sudo systemctl restart graylog-server.MongoDB is a relational database that is free and open-source. #Set Graylog to listen on localhost at port 9000 Sudo sed -i "s/root_password_sha2 =/root_password_sha2 =$message/g" /etc/graylog/server/nf Message=$(echo -n "$password" | sha256sum | awk '')
#Generate initial SHA-256 Hash of the root password and save it to conf file Sudo sed -i "s/password_secret =/password_secret =$password_secret/g" /etc/graylog/server/nf #Generate Password Secret and save it to conf file Sudo apt -y install graylog-server graylog-integrations-plugins Run the following command to edit the elasticsearch config file: sudo tee -a /etc/elasticsearch/elasticsearch.yml > /dev/null /dev/null << EOT Install Elasticsearch sudo apt install elasticsearch-oss Install MongoDB sudo apt install mongodb-org -yĮnable MongoDB at boot sudo systemctl daemon-reloadĪdd Elasticsearch repository wget -qO - | sudo apt-key add -Įcho "deb stable main" | sudo tee -a /etc/apt//elastic-7.x.list Add the MongoDB repository to Debian 11 with the following commands: wget -qO - | sudo apt-key add -Įcho "deb buster/mongodb-org/4.4 main" | sudo tee /etc/apt//mongodb-org-4.4.list Graylog can run under a newer version of Java.įor this guide, I will be going with Java 17, the latest version of Java from the Debian 11 repository.
Install the Prerequisites for Debian 11 Minimal Installations sudo apt install apt-transport-https uuid-runtime pwgen dirmngr gnupg wgetĪs of, the official documentation for Graylog ( ) calls for Java 11.