{"id":446,"date":"2021-12-21T16:19:00","date_gmt":"2021-12-21T15:19:00","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/2021\/12\/21\/elastic-elk-stack-get-started\/"},"modified":"2023-09-19T11:26:20","modified_gmt":"2023-09-19T09:26:20","slug":"elastic-elk-stack-get-started","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/","title":{"rendered":"Elastic (ELK) Stack &#8211; Get Started"},"content":{"rendered":"<p>ELK Stack or more recently called Elastic Stack, is a combination of three open-source projects: Elasticsearch, Logstash and Kibana. All these projects have been developed by <a href=\"https:\/\/www.elastic.co\/\" target=\"_blank\" rel=\"noopener\">Elastic<\/a> and used to store, analyze, discover, and visualize data efficiently! I got the chance to install, configure and maintain Elastic Stack on Kubernetes since more than two years. Today, I would like to share with you a quick journey along the Elastic Stack &#x1f60a;<br \/>\n<!--more--><\/p>\n<h2>Elastic Stack components<\/h2>\n<h3>Elasticsearch<\/h3>\n<p>In fact, everything started with Elasticsearch, which is for me the heart of Elastic Stack! It is a highly scalable open-source full-text search and analytics engine. It allows you to store, and analyze big volumes of data in near real time, whether you have structured or unstructured text, numerical data or geospatial data, Elasticsearch can efficiently store and index it \ud83d\ude09<br \/>\nIt provides a distributed system on top of Lucene StandardAnalyzer for indexing and utilizes a JSON based REST API.<\/p>\n<h3>LogStash<\/h3>\n<p>Logstash is a light-weight, open-source, server-side data processing pipeline that allows you to collect data from a variety of sources, transform them on the fly, and send them to your desired destination. Because of its tight integration with Elasticsearch, powerful log processing capabilities, Logstash is a popular choice for loading data into Elasticsearch.<\/p>\n<h3>Kibana<\/h3>\n<p>It is your window into the stack! Kibana is a data visualization and exploration tool used for log and time-series analytics, application monitoring, and operational intelligence use cases. It offers powerful and easy-to-use features such as histograms, line graphs, pie charts, heat maps, and built-in geospatial support. Also, it provides tight integration with Elasticsearch, a popular analytics and search engine, which makes Kibana the default choice for visualizing data stored in Elasticsearch.<\/p>\n<h3>Beats<\/h3>\n<p>It has been introduced in 2015 in the Elastic Stack. It is a family of lightweight, single-purpose data shippers called Beats. They are client applications sending data from hundreds or thousands of machines or containers to Elasticsearch. There are 7 Beats: Filebeat, Metricbeat, Packetbeat, winlogbeat, Auditbeat, Heartbeat, Functionbeat.<\/p>\n<p>I will talk more in deep about each component in next blogs, now let&#8217;s understand how all these components work together.<\/p>\n<h2> Elastic Stack Architecture<\/h2>\n<p>The following is the architecture of ELK Stack which shows the proper order of layer within ELK. Here, the data generated from various sources (Logstash or Beats) are collected and processed based on the provided filter criteria. Logstash and\/or Beats then pipes the data to Elasticsearch which then analyzes and searches. Finally, At the outer layer, the closest to the user, you can find Kibana which allow users to visualize and manage data as per the requirements.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/01\/ELK-Stack-e1640097724371.png\" alt=\"Elastic Stack layers\" \/><br \/>\n<em>From <a href=\"https:\/\/www.elastic.co\/elk-stack\" rel=\"noopener\" target=\"_blank\">https:\/\/www.elastic.co\/elk-stack<\/a><\/em><\/p>\n<p>This blog is a first quick overview on Elastic Stack, in next blogs I will share with you how I installed and configured each component of Elastic Stack on Kubernetes \ud83d\ude42 In the meanwhile, please share your experience and use cases, if you don&#8217;t have any experience on it give it a try \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ELK Stack or more recently called Elastic Stack, is a combination of three open-source projects: Elasticsearch, Logstash and Kibana. All these projects have been developed by Elastic and used to store, analyze, discover, and visualize data efficiently! I got the chance to install, configure and maintain Elastic Stack on Kubernetes since more than two years. [&hellip;]<\/p>\n","protected":false},"author":46,"featured_media":447,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[85,86,87,88,89,90],"type_dbi":[],"class_list":["post-446","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-application-integration-middleware","tag-beats","tag-elasticsearch","tag-elk","tag-kibana","tag-kubernetes","tag-logstash"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Elastic (ELK) Stack - Get Started - dbi Blog<\/title>\n<meta name=\"description\" content=\"This blog will help you to start with Elastic (ELK) Stack. It will help you identify the different components and the ELK Stack architecture.\" \/>\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.dbi-services.com\/blog\/elastic-elk-stack-get-started\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Elastic (ELK) Stack - Get Started\" \/>\n<meta property=\"og:description\" content=\"This blog will help you to start with Elastic (ELK) Stack. It will help you identify the different components and the ELK Stack architecture.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-21T15:19:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-19T09:26:20+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/01\/ELK-Stack-e1640097724371.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"546\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"David Diab\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"David Diab\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/\"},\"author\":{\"name\":\"David Diab\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/deb907c3360cacdc6c7df54b4bac3c86\"},\"headline\":\"Elastic (ELK) Stack &#8211; Get Started\",\"datePublished\":\"2021-12-21T15:19:00+00:00\",\"dateModified\":\"2023-09-19T09:26:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/\"},\"wordCount\":498,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/01\/ELK-Stack-e1640097724371.png\",\"keywords\":[\"Beats\",\"Elasticsearch\",\"ELK\",\"Kibana\",\"kubernetes\",\"Logstash\"],\"articleSection\":[\"Application integration &amp; Middleware\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/\",\"name\":\"Elastic (ELK) Stack - Get Started - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/01\/ELK-Stack-e1640097724371.png\",\"datePublished\":\"2021-12-21T15:19:00+00:00\",\"dateModified\":\"2023-09-19T09:26:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/deb907c3360cacdc6c7df54b4bac3c86\"},\"description\":\"This blog will help you to start with Elastic (ELK) Stack. It will help you identify the different components and the ELK Stack architecture.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/01\/ELK-Stack-e1640097724371.png\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/01\/ELK-Stack-e1640097724371.png\",\"width\":600,\"height\":546},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Elastic (ELK) Stack &#8211; Get Started\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/deb907c3360cacdc6c7df54b4bac3c86\",\"name\":\"David Diab\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/212b1b2e4650bad3116f644ab4fb4663786d94195d7685d0704c8426da088e60?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/212b1b2e4650bad3116f644ab4fb4663786d94195d7685d0704c8426da088e60?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/212b1b2e4650bad3116f644ab4fb4663786d94195d7685d0704c8426da088e60?s=96&d=mm&r=g\",\"caption\":\"David Diab\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/david-diab\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Elastic (ELK) Stack - Get Started - dbi Blog","description":"This blog will help you to start with Elastic (ELK) Stack. It will help you identify the different components and the ELK Stack architecture.","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.dbi-services.com\/blog\/elastic-elk-stack-get-started\/","og_locale":"en_US","og_type":"article","og_title":"Elastic (ELK) Stack - Get Started","og_description":"This blog will help you to start with Elastic (ELK) Stack. It will help you identify the different components and the ELK Stack architecture.","og_url":"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/","og_site_name":"dbi Blog","article_published_time":"2021-12-21T15:19:00+00:00","article_modified_time":"2023-09-19T09:26:20+00:00","og_image":[{"width":600,"height":546,"url":"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/01\/ELK-Stack-e1640097724371.png","type":"image\/png"}],"author":"David Diab","twitter_card":"summary_large_image","twitter_misc":{"Written by":"David Diab","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/"},"author":{"name":"David Diab","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/deb907c3360cacdc6c7df54b4bac3c86"},"headline":"Elastic (ELK) Stack &#8211; Get Started","datePublished":"2021-12-21T15:19:00+00:00","dateModified":"2023-09-19T09:26:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/"},"wordCount":498,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/01\/ELK-Stack-e1640097724371.png","keywords":["Beats","Elasticsearch","ELK","Kibana","kubernetes","Logstash"],"articleSection":["Application integration &amp; Middleware"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/","url":"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/","name":"Elastic (ELK) Stack - Get Started - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/01\/ELK-Stack-e1640097724371.png","datePublished":"2021-12-21T15:19:00+00:00","dateModified":"2023-09-19T09:26:20+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/deb907c3360cacdc6c7df54b4bac3c86"},"description":"This blog will help you to start with Elastic (ELK) Stack. It will help you identify the different components and the ELK Stack architecture.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/01\/ELK-Stack-e1640097724371.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/01\/ELK-Stack-e1640097724371.png","width":600,"height":546},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/elastic-elk-stack-get-started\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Elastic (ELK) Stack &#8211; Get Started"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/deb907c3360cacdc6c7df54b4bac3c86","name":"David Diab","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/212b1b2e4650bad3116f644ab4fb4663786d94195d7685d0704c8426da088e60?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/212b1b2e4650bad3116f644ab4fb4663786d94195d7685d0704c8426da088e60?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/212b1b2e4650bad3116f644ab4fb4663786d94195d7685d0704c8426da088e60?s=96&d=mm&r=g","caption":"David Diab"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/david-diab\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/46"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=446"}],"version-history":[{"count":7,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/446\/revisions"}],"predecessor-version":[{"id":27911,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/446\/revisions\/27911"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/447"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=446"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}