{"id":1772,"date":"2022-12-15T12:30:00","date_gmt":"2022-12-15T18:30:00","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=1772"},"modified":"2023-08-29T09:14:26","modified_gmt":"2023-08-29T14:14:26","slug":"how-to-install-graylog-server-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/","title":{"rendered":"How to Install Graylog Server on Ubuntu 22.04"},"content":{"rendered":"\n<p>In this tutorial, we are going to show you how to install the Graylog server on Ubuntu 22.04 OS.<\/p>\n\n\n\n<p>Graylog is an open-source log management system that collects, analyzes, and sends alerts from large log data. Graylog uses the Elasticsearch search engine and MongoDB database service, which are required for analyzing structured and unstructured logs. In this tutorial, except for the Graylog server, elasticsearch, and MongoDB, we will install Java and Nginx and will configure reverse proxy so you can access Graylog via domain name.<\/p>\n\n\n\n<p>Installing the Graylog server and setting up all requirements is a very easy process and may take up to 20 minutes. Let&#8217;s get started!<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A server with Ubuntu 22.04 as OS and a Minimum 4GB of RAM<\/li>\n\n\n\n<li>Valid domain pointed to the servers IP address<\/li>\n\n\n\n<li>User privileges: root or non-root user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1. Update the System<\/h2>\n\n\n\n<p>Before we start with the installation of this software we will update the system packages to their latest versions available.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get update -y &amp;&amp; sudo apt-get upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2. Install Nginx<\/h2>\n\n\n\n<p>To install the Nginx web server execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install nginx -y<\/pre>\n\n\n\n<p>After successful installation, the Nginx service will be automatically started. To check the status of Nginx, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status nginx<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@vps:~# sudo systemctl status nginx\n\u25cf nginx.service - A high performance web server and a reverse proxy server\n     Loaded: loaded (\/lib\/systemd\/system\/nginx.service; enabled; vendor preset: enabled)\n     Active: active (running) since Fri 2022-11-18 03:28:11 CST; 14min ago\n       Docs: man:nginx(8)\n    Process: 3778 ExecStartPre=\/usr\/sbin\/nginx -t -q -g daemon on; master_process on; (code=exited, status=0\/SUCCESS)\n    Process: 3779 ExecStart=\/usr\/sbin\/nginx -g daemon on; master_process on; (code=exited, status=0\/SUCCESS)\n   Main PID: 3874 (nginx)\n      Tasks: 4 (limit: 4575)\n     Memory: 6.0M\n        CPU: 53ms\n     CGroup: \/system.slice\/nginx.service\n             \u251c\u25003874 \"nginx: master process \/usr\/sbin\/nginx -g daemon on; master_process on;\"\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3. Install MongoDB Database Server<\/h2>\n\n\n\n<p>First, add the GPG keys:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget -qO - https:\/\/www.mongodb.org\/static\/pgp\/server-4.4.asc | sudo apt-key add -<\/pre>\n\n\n\n<p>Then, we need to add the MongoDB repository:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">echo \"deb [ arch=amd64,arm64 ] https:\/\/repo.mongodb.org\/apt\/ubuntu focal\/mongodb-org\/4.4 multiverse\" | sudo tee \/etc\/apt\/sources.list.d\/mongodb-org-4.4.list\n\necho \"deb http:\/\/security.ubuntu.com\/ubuntu focal-security main\" | sudo tee \/etc\/apt\/sources.list.d\/focal-security.list\n<\/pre>\n\n\n\n<p>Once done, update the system and install the MongoDB database server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update -y\nsudo apt upgrade -y\nsudo apt-get install gnupg libssl1.1 -y\n\nsudo apt-get install mongodb-org=4.4.8 mongodb-org-server=4.4.8 mongodb-org-shell=4.4.8 mongodb-org-mongos=4.4.8 mongodb-org-tools=4.4.8 -y\n<\/pre>\n\n\n\n<p>After this start and enable the MongoDB service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start mongod &amp;&amp; sudo systemctl enable mongod<\/pre>\n\n\n\n<p>To check the status of MongoDB execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status mongod<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@vps:~# systemctl status mongod\n\u25cf mongod.service - MongoDB Database Server\n     Loaded: loaded (\/lib\/systemd\/system\/mongod.service; disabled; vendor preset: enabled)\n     Active: active (running) since Fri 2022-11-18 03:59:25 CST; 5s ago\n       Docs: https:\/\/docs.mongodb.org\/manual\n   Main PID: 8635 (mongod)\n     Memory: 59.9M\n        CPU: 1.036s\n     CGroup: \/system.slice\/mongod.service\n             \u2514\u25008635 \/usr\/bin\/mongod --config \/etc\/mongod.conf\n\nNov 18 03:59:25 host.test.vps systemd[1]: Started MongoDB Database Server.\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4. Install Java<\/h2>\n\n\n\n<p>To install the latest Java version, we need to install first some Java dependencies:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt install apt-transport-https gnupg2 uuid-runtime pwgen curl dirmngr -y<\/pre>\n\n\n\n<p>Once these dependencies are installed, we can install Java with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt install openjdk-11-jre-headless -y<\/pre>\n\n\n\n<p>After successfull installation, check the installed Java version:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">java --version<\/pre>\n\n\n\n<p>You should receive output similar to this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# java --version\nopenjdk 11.0.17 2022-10-18\nOpenJDK Runtime Environment (build 11.0.17+8-post-Ubuntu-1ubuntu222.04)\nOpenJDK 64-Bit Server VM (build 11.0.17+8-post-Ubuntu-1ubuntu222.04, mixed mode, sharing)\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5. Install Elasticsearch<\/h2>\n\n\n\n<p>First we are going to add the elasticsearch public key to the APT, and the elastic source to the <strong>sources.list.d<\/strong>.<\/p>\n\n\n\n<p>To add the <strong>GPG-KEY<\/strong> execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl -fsSL https:\/\/artifacts.elastic.co\/GPG-KEY-elasticsearch | sudo gpg --dearmor -o \/usr\/share\/keyrings\/elastic.gpg<\/pre>\n\n\n\n<p>To add the elastic source in the <strong>sources.list.d<\/strong> execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">echo \"deb [signed-by=\/usr\/share\/keyrings\/elastic.gpg] https:\/\/artifacts.elastic.co\/packages\/7.x\/apt stable main\" | sudo tee -a \/etc\/apt\/sources.list.d\/elastic-7.x.list<\/pre>\n\n\n\n<p>Now, update the system and install the elastic search with the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update -y\n\nsudo apt install elasticsearch\n\n<\/pre>\n\n\n\n<p>Start and enable the elasticsearch service.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start elasticsearch &amp;&amp; sudo systemctl enable elasticsearch<\/pre>\n\n\n\n<p>To check the status of the service if is up and running execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status elasticsearch<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# sudo systemctl status elasticsearch\n\u25cf elasticsearch.service - Elasticsearch\n     Loaded: loaded (\/lib\/systemd\/system\/elasticsearch.service; enabled; vendor preset: enabled)\n     Active: active (running) since Tue 2022-11-22 16:59:52 CST; 2min 8s ago\n       Docs: https:\/\/www.elastic.co\n   Main PID: 11001 (java)\n      Tasks: 68 (limit: 4575)\n     Memory: 2.3G\n        CPU: 2min 36.261s\n     CGroup: \/system.slice\/elasticsearch.service\n             \u251c\u250011001 \/usr\/share\/elasticsearch\/jdk\/bin\/java -Xshare:auto -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch &gt;\n             \u2514\u250011191 \/usr\/share\/elasticsearch\/modules\/x-pack-ml\/platform\/linux-x86_64\/bin\/controller\n\nNov 22 16:58:50 host.test.vps systemd[1]: Starting Elasticsearch...\n<\/pre>\n\n\n\n<p>After starting the service we need to configure the cluster name for our Graylog server:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo nano \/etc\/elasticsearch\/elasticsearch.yml<\/pre>\n\n\n\n<p>Enter these lines of code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cluster.name: graylog\naction.auto_create_index: false<\/pre>\n\n\n\n<p>Save the file, close it and restart the daemon along with elasticsearch service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl daemon-reload &amp;&amp; sudo systemctl restart elasticsearch<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6. Install Graylog Server<\/h2>\n\n\n\n<p>First, we need to download the Graylog package:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget https:\/\/packages.graylog2.org\/repo\/packages\/graylog-4.3-repository_latest.deb<\/pre>\n\n\n\n<p>After that, we need to install it:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dpkg -i graylog-4.3-repository_latest.deb\n\nsudo apt update -y\n\nsudo apt install graylog-server -y<\/pre>\n\n\n\n<p>Start and Enable the graylog-server service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl enable graylog-server.service &amp;&amp; systemctl start graylog-server.service<\/pre>\n\n\n\n<p>To check the status of the Graylog server execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl status graylog-server<\/pre>\n\n\n\n<p>You should get output similar to this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u25cf graylog-server.service - Graylog server\n     Loaded: loaded (\/lib\/systemd\/system\/graylog-server.service; enabled; vendor preset: enabled)\n     Active: active (running) since Tue 2022-11-22 18:03:17 CST; 199ms ago\n       Docs: http:\/\/docs.graylog.org\/\n   Main PID: 13451 (graylog-server)\n      Tasks: 9 (limit: 4575)\n     Memory: 5.5M\n        CPU: 268ms\n     CGroup: \/system.slice\/graylog-server.service\n             \u251c\u250013451 \/bin\/sh \/usr\/share\/graylog-server\/bin\/graylog-server\n             \u251c\u250013470 \/usr\/bin\/java -XX:+PrintFlagsFinal\n             \u2514\u250013471 grep -q UseConcMarkSweepGC\n\nNov 22 18:03:17 host.test.vps systemd[1]: Started Graylog server.\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 7. Configure Graylog User<\/h2>\n\n\n\n<p>In this step we will secure the user passwords using the password generator command <strong>pwgen<\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pwgen -N 1 -s 96<\/pre>\n\n\n\n<p>You will get output similar to this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">hG1gMQmadHjwU31q3jqQk6Mfe85HW1go7nEfUjIvGvUVfMdqrcGlqOFPAtQilK8uujHR9uRZ2sA0fZ6RSPmpPESviRztoTGc<\/pre>\n\n\n\n<p>Then we will create an admin password:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">echo -n YourStrongPasswordHere | shasum -a 256<\/pre>\n\n\n\n<p>You will receive output similar to this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# echo -n YourStrongPasswordHere | shasum -a 256\nddea588114d8e836dcc38e6a172dc03e6e256eca7788dab45be849dfe60b24f2  -<\/pre>\n\n\n\n<p>Open the <strong>\/etc\/graylog\/server\/server.conf<\/strong> file and find the part <strong>password_secret<\/strong> and <strong>root_password_sha2<\/strong> fields. Paste the previously generated passwords.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">password_secret = hG1gMQmadHjwU31q3jqQk6Mfe85HW1go7nEfUjIvGvUVfMdqrcGlqOFPAtQilK8uujHR9uRZ2sA0fZ6RSPmpPESviRztoTGc\n\nroot_password_sha2 = ddea588114d8e836dcc38e6a172dc03e6e256eca7788dab45be849dfe60b24f2\n<\/pre>\n\n\n\n<p>Save the file, close it and restart the graylog server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl daemon-reload\n\nsystemctl restart graylog-server<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 8. Create Nginx Virtual Host<\/h2>\n\n\n\n<p>Create the Nginx virtual host file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">touch \/etc\/nginx\/sites-available\/graylog.conf<\/pre>\n\n\n\n<p>Open the file and paste the following lines of code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">server {\n    listen 80;\n    server_name &lt;strong&gt;YourDomainHere&lt;\/strong&gt;;\n\nlocation \/\n    {\n      proxy_set_header Host $http_host;\n      proxy_set_header X-Forwarded-Host $host;\n      proxy_set_header X-Forwarded-Server $host;\n      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n      proxy_set_header X-Graylog-Server-URL http:\/\/$server_name\/;\n      proxy_pass       &lt;strong&gt;http:\/\/YourServerIPHere:9000&lt;\/strong&gt;;\n    }\n\n}<\/pre>\n\n\n\n<p>Enable the Nginx configuration with a symbolic link.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ln -s \/etc\/nginx\/sites-available\/graylog.conf \/etc\/nginx\/sites-enabled\/<\/pre>\n\n\n\n<p>Check the Nginx syntax:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">nginx -t<\/pre>\n\n\n\n<p>If you get the following output, restart the Nginx service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# nginx -t\nnginx: the configuration file \/etc\/nginx\/nginx.conf syntax is ok\nnginx: configuration file \/etc\/nginx\/nginx.conf test is successful<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl restart nginx<\/pre>\n\n\n\n<p>Now, you can access your Graylog server at <strong>http:\/\/YourDomainHere.com<\/strong> using the credentials you created above.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/11\/gray1.jpg\" alt=\"\" class=\"wp-image-43626\"\/><\/figure>\n<\/div>\n\n\n<p>Once logged in, you will get the following screen:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/11\/gray2.jpg\" alt=\"\" class=\"wp-image-43627\"\/><\/figure>\n<\/div>\n\n\n<p>Hopefully, our guide on how to install Graylog on Ubuntu 22.04 was of help to you. <\/p>\n\n\n\n<p>We would love to hear from you now:<\/p>\n\n\n\n<p>Did we skip something essential, or do you need a more detailed explanation about any of the steps?<\/p>\n\n\n\n<p>What are some other topics or tutorials you would want us to delve into? <\/p>\n\n\n\n<p>Please, feel free to share your thoughts in the comment section.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we are going to show you how to install the Graylog server on Ubuntu 22.04 OS. Graylog is an open-source log management system that collects, analyzes, and sends alerts from large log data. Graylog uses the Elasticsearch search engine and MongoDB database service, which are required for analyzing structured and unstructured logs. &#8230; <a title=\"How to Install Graylog Server on Ubuntu 22.04\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/\" aria-label=\"More on How to Install Graylog Server on Ubuntu 22.04\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":1774,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,208],"tags":[264,181,265],"class_list":["post-1772","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-graylog","tag-server","tag-ubuntu-22-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Graylog Server on Ubuntu 22.04 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"In this tutorial, we are going to show you how to install the Graylog server on Ubuntu 22.04 OS. Graylog is an open-source log management system that\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Graylog Server on Ubuntu 22.04 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we are going to show you how to install the Graylog server on Ubuntu 22.04 OS. Graylog is an open-source log management system that\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-15T18:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T14:14:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/11\/how-to-install-graylog-server-on-ubuntu-22-04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-graylog-server-on-ubuntu-22-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-graylog-server-on-ubuntu-22-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Install Graylog Server on Ubuntu 22.04\",\"datePublished\":\"2022-12-15T18:30:00+00:00\",\"dateModified\":\"2023-08-29T14:14:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-graylog-server-on-ubuntu-22-04\\\/\"},\"wordCount\":680,\"commentCount\":9,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-graylog-server-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/how-to-install-graylog-server-on-ubuntu-22-04.webp\",\"keywords\":[\"graylog\",\"server\",\"ubuntu 22.04\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-graylog-server-on-ubuntu-22-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-graylog-server-on-ubuntu-22-04\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-graylog-server-on-ubuntu-22-04\\\/\",\"name\":\"How to Install Graylog Server on Ubuntu 22.04 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-graylog-server-on-ubuntu-22-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-graylog-server-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/how-to-install-graylog-server-on-ubuntu-22-04.webp\",\"datePublished\":\"2022-12-15T18:30:00+00:00\",\"dateModified\":\"2023-08-29T14:14:26+00:00\",\"description\":\"In this tutorial, we are going to show you how to install the Graylog server on Ubuntu 22.04 OS. Graylog is an open-source log management system that\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-graylog-server-on-ubuntu-22-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-graylog-server-on-ubuntu-22-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-graylog-server-on-ubuntu-22-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/how-to-install-graylog-server-on-ubuntu-22-04.webp\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/how-to-install-graylog-server-on-ubuntu-22-04.webp\",\"width\":742,\"height\":372,\"caption\":\"how to install graylog server on ubuntu 22.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-graylog-server-on-ubuntu-22-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Graylog Server on Ubuntu 22.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Graylog Server on Ubuntu 22.04 | LinuxCloudVPS Blog","description":"In this tutorial, we are going to show you how to install the Graylog server on Ubuntu 22.04 OS. Graylog is an open-source log management system that","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Graylog Server on Ubuntu 22.04 | LinuxCloudVPS Blog","og_description":"In this tutorial, we are going to show you how to install the Graylog server on Ubuntu 22.04 OS. Graylog is an open-source log management system that","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2022-12-15T18:30:00+00:00","article_modified_time":"2023-08-29T14:14:26+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/11\/how-to-install-graylog-server-on-ubuntu-22-04.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Install Graylog Server on Ubuntu 22.04","datePublished":"2022-12-15T18:30:00+00:00","dateModified":"2023-08-29T14:14:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/"},"wordCount":680,"commentCount":9,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/11\/how-to-install-graylog-server-on-ubuntu-22-04.webp","keywords":["graylog","server","ubuntu 22.04"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/","name":"How to Install Graylog Server on Ubuntu 22.04 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/11\/how-to-install-graylog-server-on-ubuntu-22-04.webp","datePublished":"2022-12-15T18:30:00+00:00","dateModified":"2023-08-29T14:14:26+00:00","description":"In this tutorial, we are going to show you how to install the Graylog server on Ubuntu 22.04 OS. Graylog is an open-source log management system that","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/11\/how-to-install-graylog-server-on-ubuntu-22-04.webp","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/11\/how-to-install-graylog-server-on-ubuntu-22-04.webp","width":742,"height":372,"caption":"how to install graylog server on ubuntu 22.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-graylog-server-on-ubuntu-22-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Graylog Server on Ubuntu 22.04"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=1772"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1772\/revisions"}],"predecessor-version":[{"id":1953,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1772\/revisions\/1953"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/1774"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=1772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=1772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=1772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}