{"id":28591,"date":"2023-10-12T15:35:51","date_gmt":"2023-10-12T13:35:51","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=28591"},"modified":"2023-10-12T15:35:51","modified_gmt":"2023-10-12T13:35:51","slug":"logs-from-filebeat-to-logstash-to-elasticsearch-2","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/","title":{"rendered":"Logs from Filebeat to Logstash to Elasticsearch &#8211; 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">As promised in the previous <a href=\"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-1\/\" target=\"_blank\" rel=\"noreferrer noopener\">blog<\/a>, I will show how to configure Filebeat to push logs to Logstash, then to Elasticsearch. This for sure will not cover all use cases, but will give you an idea on how it works.<\/p>\n\n\n\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-configure-filebeat\">Configure Filebeat<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First of all, let&#8217;s understand how Filebeat works.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We have to configure inputs and outputs, once Filebeat starts it looks in the locations we specified and start a harvester for each log file found. Harvesters send log data to libbeat, which send data to the output(s) defined.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each new line in the log file detected is considered as new entry.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see in the below, many inputs and outputs could be defined.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"480\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-2-1024x480.png\" alt=\"\" class=\"wp-image-28592\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-2-1024x480.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-2-300x141.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-2-768x360.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-2.png 1347w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> In our use case we will send the data from Filebeat to Logstash. For that we will need to update the filebeat.yml. In the inputs section, add an input to push Elasticsearch logs. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># ============================== Filebeat inputs ===============================\n\nfilebeat.inputs:\n- type: log\n  paths:\n    - \/var\/log\/elasticsearch\/elasticsearch.log\n  multiline.pattern: '^\\&#091;&#091;0-9]{4}-&#091;0-9]{2}-&#091;0-9]{2}'\n  multiline.negate: true\n  multiline.match: after\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">What multiline configuration mean?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The file harvested by Filebeat may contain messages that span multiple lines of text. For example, multiline messages are common in files that contain Java stack traces. In order to correctly handle these multiline events configure a pattern, and so Filebeat group all the lines in one entry which make more sense!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Still in filebeat.yml file, in the outputs section:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># ------------------------------ Logstash Output -------------------------------\noutput.logstash:\n  # The Logstash hosts\n  hosts: &#091;\"localhost:5044\"]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Don&#8217;t start Filebeat before Logstash is configured and ready.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-configure-logstash\">Configure Logstash<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Filebeat is able to send data directly to Elasticsearch, but in some use cases we need to filter or transform data, so Logstash is needed. I will publish a dedicated blog showing how to filter\/transform data using Logstash, that&#8217;s why this will not be covered in this blog. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create a configuration file in config folder, containing input and output:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>input {\n  beats {\n    port =&gt; 5044\n  }\n}\n\noutput {\n  elasticsearch {\n    hosts =&gt; &#091;\"http:\/\/localhost:9200\"]\n  }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This means that data will be received from beats,  and should be sent to Elasticsearch.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here Filebeat, Logstash and Elasticsearch have been installed on the same server, if it is not your case the only change to do is on hosts value!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Start Logstash pointing to the config file just created, e.g.:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$LOGSTASH_HOME\/bin\/logstash -f $LOGSTASH_HOME\/config\/beats.conf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Logstash log should look like:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2023-10-12T14:50:39,856]&#091;INFO ]&#091;org.logstash.beats.Server]&#091;main]&#091;07404911f6955878a51e8dfe9c8b1b8d65de08b278ae40b3521288a61a3e6ec6] Starting server on port: 5044\n&#091;2023-10-12T14:50:39,941]&#091;INFO ]&#091;logstash.agent           ] Pipelines running {:count=&gt;1, :running_pipelines=&gt;&#091;:main], :non_running_pipelines=&gt;&#091;]}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Remember, we didn&#8217;t start Filebeat so no data has been sent to Logstash yet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-configure-elasticsearch\">Configure Elasticsearch<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At this stage, Elasticsearch and Logstash are already running, no data received yet!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check &#8220;Discover&#8221; on Kibana show that there is no data.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"377\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-3-1024x377.png\" alt=\"\" class=\"wp-image-28594\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-3-1024x377.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-3-300x110.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-3-768x283.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-3.png 1432w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> Start filebeat:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$FILEBEAT_HOME\/filebeat -e<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check again the &#8220;Discover&#8221; on Kibana:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-4-1024x560.png\" alt=\"\" class=\"wp-image-28595\" style=\"width:840px;height:459px\" width=\"840\" height=\"459\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-4-1024x560.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-4-300x164.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-4-768x420.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-4.png 1137w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We have data in Elasticsearch now!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the next blog, I will share how to configure Kibana to discover the data stored in Elasticsearch.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As promised in the previous blog, I will show how to configure Filebeat to push logs to Logstash, then to Elasticsearch. This for sure will not cover all use cases, but will give you an idea on how it works. Configure Filebeat First of all, let&#8217;s understand how Filebeat works. We have to configure inputs&hellip;&nbsp;<\/p>\n","protected":false},"author":46,"featured_media":0,"comment_status":"open","ping_status":"closed","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":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[3684],"tags":[86,87,88,890,90],"class_list":["post-28591","post","type-post","status-publish","format-standard","category-elastic-stack","tag-elasticsearch","tag-elk","tag-kibana","tag-log","tag-logstash"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.9 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Logs from Filebeat to Logstash to Elasticsearch - 2 - dbi services Blog<\/title>\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\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Logs from Filebeat to Logstash to Elasticsearch - 2\" \/>\n<meta property=\"og:description\" content=\"As promised in the previous blog, I will show how to configure Filebeat to push logs to Logstash, then to Elasticsearch. This for sure will not cover all use cases, but will give you an idea on how it works. Configure Filebeat First of all, let&#8217;s understand how Filebeat works. We have to configure inputs&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-12T13:35:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1347\" \/>\n\t<meta property=\"og:image:height\" content=\"632\" \/>\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:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\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\\\/logs-from-filebeat-to-logstash-to-elasticsearch-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/logs-from-filebeat-to-logstash-to-elasticsearch-2\\\/\"},\"author\":{\"name\":\"David Diab\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/bd645301427dc811a22ddd641e945966\"},\"headline\":\"Logs from Filebeat to Logstash to Elasticsearch &#8211; 2\",\"datePublished\":\"2023-10-12T13:35:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/logs-from-filebeat-to-logstash-to-elasticsearch-2\\\/\"},\"wordCount\":428,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/logs-from-filebeat-to-logstash-to-elasticsearch-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/image-2-1024x480.png\",\"keywords\":[\"Elasticsearch\",\"ELK\",\"Kibana\",\"log\",\"Logstash\"],\"articleSection\":[\"Elastic Stack\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/logs-from-filebeat-to-logstash-to-elasticsearch-2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/logs-from-filebeat-to-logstash-to-elasticsearch-2\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/logs-from-filebeat-to-logstash-to-elasticsearch-2\\\/\",\"name\":\"Logs from Filebeat to Logstash to Elasticsearch - 2 - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/logs-from-filebeat-to-logstash-to-elasticsearch-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/logs-from-filebeat-to-logstash-to-elasticsearch-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/image-2-1024x480.png\",\"datePublished\":\"2023-10-12T13:35:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/logs-from-filebeat-to-logstash-to-elasticsearch-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/logs-from-filebeat-to-logstash-to-elasticsearch-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/logs-from-filebeat-to-logstash-to-elasticsearch-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/image-2.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/image-2.png\",\"width\":1347,\"height\":632},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/logs-from-filebeat-to-logstash-to-elasticsearch-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Logs from Filebeat to Logstash to Elasticsearch &#8211; 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"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\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/bd645301427dc811a22ddd641e945966\",\"name\":\"David Diab\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/DDI_web-min-scaled.jpg\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/DDI_web-min-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/DDI_web-min-scaled.jpg\",\"caption\":\"David Diab\"},\"description\":\"David Diab has more than 10 years of experience deploying and administering enterprise applications. His expertise spans Elastic Stack, WebLogic, JBoss, Tomcat, and Documentum, plus DevOps tooling (Kubernetes, CI\\\/CD), scheduling solutions (Control-M, Dollar Universe), backup (NetBackup, Backup Exec), and file transfer (CFT). He holds certifications including Elastic Certified Engineer, OpenText Certified Documentum Administrator, Oracle Certified Professional WebLogic Server 12c, Certified Kubernetes Administrator, and ITIL V3 Foundation. Prior to dbi services, David worked as Integration and Operations Engineer at PSA Peugeot Citro\u00ebn and at Atos. He holds an Engineering degree in Computer Science from UTBM. His industry experience covers automotive, banking, cosmetics, pharmaceutical, insurance, and chemical sectors.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/david-diab\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Logs from Filebeat to Logstash to Elasticsearch - 2 - dbi services Blog","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\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/","og_locale":"en_US","og_type":"article","og_title":"Logs from Filebeat to Logstash to Elasticsearch - 2","og_description":"As promised in the previous blog, I will show how to configure Filebeat to push logs to Logstash, then to Elasticsearch. This for sure will not cover all use cases, but will give you an idea on how it works. Configure Filebeat First of all, let&#8217;s understand how Filebeat works. We have to configure inputs&hellip;&nbsp;","og_url":"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2023-10-12T13:35:51+00:00","og_image":[{"width":1347,"height":632,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-2.png","type":"image\/png"}],"author":"David Diab","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","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\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/"},"author":{"name":"David Diab","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bd645301427dc811a22ddd641e945966"},"headline":"Logs from Filebeat to Logstash to Elasticsearch &#8211; 2","datePublished":"2023-10-12T13:35:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/"},"wordCount":428,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-2-1024x480.png","keywords":["Elasticsearch","ELK","Kibana","log","Logstash"],"articleSection":["Elastic Stack"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/","url":"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/","name":"Logs from Filebeat to Logstash to Elasticsearch - 2 - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-2-1024x480.png","datePublished":"2023-10-12T13:35:51+00:00","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-2.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/10\/image-2.png","width":1347,"height":632},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/logs-from-filebeat-to-logstash-to-elasticsearch-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Logs from Filebeat to Logstash to Elasticsearch &#8211; 2"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"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":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bd645301427dc811a22ddd641e945966","name":"David Diab","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/09\/DDI_web-min-scaled.jpg","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/09\/DDI_web-min-scaled.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/09\/DDI_web-min-scaled.jpg","caption":"David Diab"},"description":"David Diab has more than 10 years of experience deploying and administering enterprise applications. His expertise spans Elastic Stack, WebLogic, JBoss, Tomcat, and Documentum, plus DevOps tooling (Kubernetes, CI\/CD), scheduling solutions (Control-M, Dollar Universe), backup (NetBackup, Backup Exec), and file transfer (CFT). He holds certifications including Elastic Certified Engineer, OpenText Certified Documentum Administrator, Oracle Certified Professional WebLogic Server 12c, Certified Kubernetes Administrator, and ITIL V3 Foundation. Prior to dbi services, David worked as Integration and Operations Engineer at PSA Peugeot Citro\u00ebn and at Atos. He holds an Engineering degree in Computer Science from UTBM. His industry experience covers automotive, banking, cosmetics, pharmaceutical, insurance, and chemical sectors.","url":"https:\/\/www.dbi-services.com\/blog\/author\/david-diab\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/28591","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=28591"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/28591\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=28591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=28591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=28591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}