{"id":15347,"date":"2024-09-10T11:48:59","date_gmt":"2024-09-10T10:48:59","guid":{"rendered":"https:\/\/roglacup.com\/klaus62\/?p=15347"},"modified":"2024-09-10T11:56:31","modified_gmt":"2024-09-10T10:56:31","slug":"how-to-setup-and-install-elasticsearch","status":"publish","type":"post","link":"https:\/\/roglacup.com\/klaus62\/2024\/09\/10\/how-to-setup-and-install-elasticsearch\/","title":{"rendered":"How to setup and install Elasticsearch"},"content":{"rendered":"\n<p>Elasticsearch is a complex software incomparable to other mainstream database software, whether it\u2019s RDBMS or NoSQL. It functions primarily as your search engine and works as your document database to store valuable data for analytics.<\/p>\n\n\n\n<p><a href=\"https:\/\/severalnines.com\/blog\/what-is-elasticsearch-and-why-use-it\/\" target=\"_blank\" rel=\"noreferrer noopener\">Elasticsearch<\/a>&nbsp;works as part of the ELK stack (Elastic, Logstash, Beats, and Kibana). It can also be used with other external visualization tools such as Grafana or Knowi, for example. However, we\u2019ll not cover these tools in this blog.<\/p>\n\n\n\n<p>Instead, we will focus on setting up a single node and then transitioning to a 3-node cluster, with default security using SSL\/TLS socket for communication.<\/p>\n\n\n\n<p>Elasticsearch has various ways to achieve this installation and setup. But it can be tedious and difficult to install if you stumble into problems. Especially with the recent version releases, as there have been several vital changes and some settings may not work in your current configuration setup.<\/p>\n\n\n\n<p>Here, we will guide you to install Elasticsearch version 8.2.0 on an Ubuntu 20.04.3 LTS (Focal Fossa) environment.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Thanks  <strong>Paul Namuag<\/strong><\/p>\n\n\n\n<p> <a href=\"https:\/\/severalnines.com\/blog\/how-to-setup-and-install-elasticsearch-cluster\/\">https:\/\/severalnines.com\/blog\/how-to-setup-and-install-elasticsearch-cluster\/<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>More<\/p>\n\n\n\n<p><a href=\"https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/8.15\/deb.html#deb-repo\">https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/8.15\/deb.html#deb-repo<\/a><\/p>\n\n\n\n<p>Logstash &amp; Grok &amp; Elasticsearch<\/p>\n\n\n\n<p><a href=\"https:\/\/coralogix.com\/blog\/logstash-grok-tutorial-with-examples\">https:\/\/coralogix.com\/blog\/logstash-grok-tutorial-with-examples<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Elasticsearch is a complex software incomparable to other mainstream database software, whether it\u2019s RDBMS or NoSQL. It functions primarily as your search engine and works as your document database to store valuable data for analytics. Elasticsearch&nbsp;works as part of the ELK stack (Elastic, Logstash, Beats, and Kibana). It can also be used with other external&hellip;&nbsp;<a href=\"https:\/\/roglacup.com\/klaus62\/2024\/09\/10\/how-to-setup-and-install-elasticsearch\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">How to setup and install Elasticsearch<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":15349,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[884],"tags":[],"class_list":["post-15347","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/posts\/15347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/comments?post=15347"}],"version-history":[{"count":2,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/posts\/15347\/revisions"}],"predecessor-version":[{"id":15351,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/posts\/15347\/revisions\/15351"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/media\/15349"}],"wp:attachment":[{"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/media?parent=15347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/categories?post=15347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/tags?post=15347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}