{"id":21039,"date":"2016-11-03T11:38:39","date_gmt":"2016-11-03T10:38:39","guid":{"rendered":"https:\/\/www.inovex.de\/?p=2382"},"modified":"2022-12-01T11:58:01","modified_gmt":"2022-12-01T10:58:01","slug":"elk-on-docker-compose","status":"publish","type":"post","link":"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/","title":{"rendered":"Elk on Docker (-Compose)"},"content":{"rendered":"<p>The ELK\/Elastic stack is a common open source solution for collecting and analyzing log data from distributed systems. This\u00a0article will show you how to run an ELK on Docker using Docker Compose.\u00a0This will\u00a0enable you to run ELK distributed on your docker infrastructure or test it on your local system.<!--more--><\/p>\n<p>To start just copy the\u00a0source code below and create a file called &#8222;docker-compose.yml&#8220; and then another one called &#8222;elasticsearch.yml&#8220; in the same directory. These two files and a working\u00a0Docker installation is all you need.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\"><\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#Starting-up-Docker-Compose\" >Starting up Docker Compose<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#Sending-accessing-data\" >Sending &amp; accessing data<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#Source-Codes\" >Source Codes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#Example-usage\" >Example usage<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#Feeding-local-syslogs\" >Feeding local syslogs<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#Get-in-touch\" >Get in touch<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#Were-hiring\" >We&#8217;re hiring!<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Starting-up-Docker-Compose\"><\/span>Starting up Docker Compose<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The Docker compose\u00a0file uses official images from the docker hub. Thus there is no need build your own images to get started.\u00a0There are two different ways to launch your ELK stack from this example:<\/p>\n<ol>\n<li>As\u00a0single instances: Get a shell in the directory where you&#8217;ve put the two files and type:\u00a0<span class=\"lang:sh decode:true crayon-inline\">docker-compose up.\u00a0<\/span>This command will start one container for Elasticsearch, one for Kibana, one for Logstash. The Logstash container will listen to port 8080, the Kibana container to port 80.<\/li>\n<li>With an Elasticsearch cluster of x data nodes:\u00a0<span class=\"lang:sh decode:true crayon-inline\">docker-compose scale Elasticsearch=x Kibana=1 Logstash=1.\u00a0<\/span>This will start an Elasticsearch cluster with x nodes, one Logstash and one Kibana instance. Logstash will again listen to port 8080, Kibana to port 80.<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Sending-accessing-data\"><\/span>Sending &amp; accessing data<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>As Logstash is listening to port 8080 feeding data into the system works via a simple curl:\u00a0<span class=\"lang:sh decode:true crayon-inline\">curl -XPOST http:\/\/localhost:8080\/ -d &#8218;{&#8222;a&#8220;: &#8222;b&#8220;, &#8222;c&#8220;: &#8222;d&#8220;}&#8216;.\u00a0<\/span>Kibana is configured to listen to port 80. As the used Kibana image is not configured yet you will be prompted to setup an index pattern. Logstash will write its data to a daily index with the naming scheme\u00a0&#8218;elk-data-*&#8216;.<\/p>\n<p>As Elasticsearch persists its data on local volumes the data in your cluster will be saved until the volume containers are removed.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Source-Codes\"><\/span>Source Codes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre class=\"lang:yaml decode:true\" title=\"docker-compose.yml\">version: '2'\r\n\r\nservices:\r\n\r\n  elasticsearch:\r\n\r\n    hostname: elastic\r\n\r\n    domainname: elk-local\r\n\r\n    image: elasticsearch:2.4\r\n\r\n    ports:\r\n\r\n      - \"9200\"\r\n\r\n      - \"9300\"\r\n\r\n    environment:\r\n\r\n      - ES_HEAP_SIZE=1G\r\n\r\n    volumes:\r\n\r\n      - $PWD\/elasticsearch.yml:\/usr\/share\/elasticsearch\/config\r\n\r\n      - data:\/data\r\n\r\n  kibana:\r\n\r\n    hostname: kibana\r\n\r\n    domainname: elk-local\r\n\r\n    image: kibana\r\n\r\n    ports:\r\n\r\n      - \"80:5601\"\r\n\r\n  logstash:\r\n\r\n    hostname: logstash\r\n\r\n    domainname: elk-local\r\n\r\n    command: logstash -e 'input { stdin {  } http { port =&gt; 8080 } } output { elasticsearch { hosts =&gt; [ 'elasticsearch' ] index =&gt; \"elk-data-%{+YYYY.MM.dd}\" } stdout { } }'\r\n\r\n    image: logstash\r\n\r\n    ports:\r\n\r\n      - \"8080:8080\"\r\n\r\nvolumes:\r\n\r\n  data:\r\n\r\n    driver: local<\/pre>\n<pre class=\"lang:yaml decode:true\" title=\"elasticsearch.yml\">cluster:\r\n\r\n  name: elk_local\r\n\r\ndiscovery:\r\n\r\n  zen:\r\n\r\n    minimum_master_nodes: 1\r\n\r\n    ping:\r\n\r\n      unicast:\r\n\r\n        hosts: [ 'elasticsearch' ]\r\n\r\npath:\r\n\r\n  logs: \/var\/log\/elasticsearch\r\n\r\nnetwork:\r\n\r\n  host: ['0.0.0.0']\r\n\r\nnode:\r\n\r\n  data: true\r\n\r\n  master: true\r\n\r\n  name: ${HOSTNAME}<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Example-usage\"><\/span>Example usage<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>As mentioned in the introduction this is an easy solution to run ELK locally on your system. Therefore it&#8217;s easy to feed local files into &#8222;your&#8220; ELK.<\/p>\n<figure id=\"attachment_2402\" aria-describedby=\"caption-attachment-2402\" style=\"width: 800px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2402 size-large\" src=\"https:\/\/www.inovex.de\/wp-content\/uploads\/2016\/10\/elk-docker-example-1024x620.png\" alt=\"Feeding example data on your dockerized ELK\" width=\"800\" height=\"484\" \/><figcaption id=\"caption-attachment-2402\" class=\"wp-caption-text\">Feeding example data to your dockerized ELK<\/figcaption><\/figure>\n<h3><span class=\"ez-toc-section\" id=\"Feeding-local-syslogs\"><\/span>Feeding local syslogs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Another use case might be to use Logstash as a local syslog server. Change line 24 in your \u00a0Docker-compose file to this line:<\/p>\n<pre class=\"lang:yaml decode:true\" title=\"Changed Logstash startup command\">command: logstash -e 'input { syslog { port =&gt; 8514 add_field =&gt; [ \"received\", \"%{@timestamp}\" ] type =&gt; syslog } http { port =&gt; 8080 } } output { if [type] == \"syslog\" { elasticsearch { hosts =&gt; [ 'elasticsearch' ] index =&gt; \"syslog-%{+YYYY.MM.dd}\" } } else { elasticsearch { hosts =&gt; [ 'elasticsearch' ] index =&gt; \"elk-data-%{+YYYY.MM.dd}\" } } stdout { }}'<\/pre>\n<p>This will cause Logstash to listen to incoming syslog messages at port 8514. Next change your syslog config and add something like this:<\/p>\n<pre class=\"lang:default decode:true \" title=\"Add to syslog.conf\"> *.*                                                     @localhost:8514<\/pre>\n<p>After you&#8217;ve reloaded your Logstash container and your syslog you&#8217;ll get an index called &#8222;syslog-*&#8220;<\/p>\n<figure id=\"attachment_2408\" aria-describedby=\"caption-attachment-2408\" style=\"width: 800px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-2408\" src=\"https:\/\/www.inovex.de\/wp-content\/uploads\/2016\/11\/elk-docker-example2-1024x475.png\" alt=\"Syslog message at Kibana\" width=\"800\" height=\"371\" \/><figcaption id=\"caption-attachment-2408\" class=\"wp-caption-text\">Syslog message on Kibana<\/figcaption><\/figure>\n<h2><span class=\"ez-toc-section\" id=\"Get-in-touch\"><\/span>Get in touch<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For all your Big Data needs visit our <a href=\"https:\/\/www.inovex.de\/en\/our-services\/big-data\/\" target=\"_blank\" rel=\"noopener\">website<\/a>, drop us an Email at <a href=\"mailto:info@inovex.de\" target=\"_blank\" rel=\"noopener\">info@inovex.de<\/a>\u00a0or call\u00a0<a href=\"tel:+497216190210\" target=\"_blank\" rel=\"noopener\">+49 721 619 021-0<\/a>.<\/p>\n<div style=\"margin: 7px; padding: 7px; border-left: 6px solid #9CCD00;\">\n<h2><span class=\"ez-toc-section\" id=\"Were-hiring\"><\/span>We&#8217;re hiring!<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Looking for a change? We&#8217;re hiring Big Data Systems Engineers who have mastered the ELK stack. <strong><a href=\"https:\/\/www.inovex.de\/de\/karriere\/stellenangebote\/big-data-systems-engineer\/\" target=\"_blank\" rel=\"noopener\">Apply now!<\/a><\/strong><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The ELK\/Elastic stack is a common open source solution for collecting and analyzing log data from distributed systems. This\u00a0article will show you how to run an ELK on Docker using Docker Compose.\u00a0This will\u00a0enable you to run ELK distributed on your docker infrastructure or test it on your local system.<\/p>\n","protected":false},"author":51,"featured_media":12797,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"ep_exclude_from_search":false,"footnotes":""},"tags":[82],"service":[504],"coauthors":[{"id":51,"display_name":"Alexander Koehler","user_nicename":"akoehler"}],"class_list":["post-21039","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-search","service-search"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ELK on Docker Compose<\/title>\n<meta name=\"description\" content=\"This\u00a0article will show you how to run an ELK on Docker using Docker Compose so you can run it on your Docker infrastructure or test it on your local system.\" \/>\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.inovex.de\/de\/blog\/elk-on-docker-compose\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ELK on Docker Compose\" \/>\n<meta property=\"og:description\" content=\"This\u00a0article will show you how to run an ELK on Docker using Docker Compose so you can run it on your Docker infrastructure or test it on your local system.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/\" \/>\n<meta property=\"og:site_name\" content=\"inovex GmbH\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inovexde\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-03T10:38:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-01T10:58:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inovex.de\/wp-content\/uploads\/2016\/11\/elk-on-docker-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2300\" \/>\n\t<meta property=\"og:image:height\" content=\"678\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Alexander Koehler\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.inovex.de\/wp-content\/uploads\/2016\/11\/elk-on-docker-1-1024x302.png\" \/>\n<meta name=\"twitter:creator\" content=\"@inovexgmbh\" \/>\n<meta name=\"twitter:site\" content=\"@inovexgmbh\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alexander Koehler\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\u00a0Minuten\" \/>\n\t<meta name=\"twitter:label3\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data3\" content=\"Alexander Koehler\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/elk-on-docker-compose\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/elk-on-docker-compose\\\/\"},\"author\":{\"name\":\"Alexander Koehler\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#\\\/schema\\\/person\\\/c8b69d79f24d10ba023c773e6f730e88\"},\"headline\":\"Elk on Docker (-Compose)\",\"datePublished\":\"2016-11-03T10:38:39+00:00\",\"dateModified\":\"2022-12-01T10:58:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/elk-on-docker-compose\\\/\"},\"wordCount\":475,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/elk-on-docker-compose\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/elk-on-docker-1.png\",\"keywords\":[\"Search\"],\"articleSection\":[\"Analytics\",\"English Content\",\"General\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/elk-on-docker-compose\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/elk-on-docker-compose\\\/\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/elk-on-docker-compose\\\/\",\"name\":\"ELK on Docker Compose\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/elk-on-docker-compose\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/elk-on-docker-compose\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/elk-on-docker-1.png\",\"datePublished\":\"2016-11-03T10:38:39+00:00\",\"dateModified\":\"2022-12-01T10:58:01+00:00\",\"description\":\"This\u00a0article will show you how to run an ELK on Docker using Docker Compose so you can run it on your Docker infrastructure or test it on your local system.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/elk-on-docker-compose\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/elk-on-docker-compose\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/elk-on-docker-compose\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/elk-on-docker-1.png\",\"contentUrl\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/elk-on-docker-1.png\",\"width\":2300,\"height\":678,\"caption\":\"Elk on Docker Compose Headerbild\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/elk-on-docker-compose\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Elk on Docker (-Compose)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#website\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/\",\"name\":\"inovex GmbH\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#organization\",\"name\":\"inovex GmbH\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/inovex-logo-16-9-1.png\",\"contentUrl\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/inovex-logo-16-9-1.png\",\"width\":1921,\"height\":1081,\"caption\":\"inovex GmbH\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inovexde\",\"https:\\\/\\\/x.com\\\/inovexgmbh\",\"https:\\\/\\\/www.instagram.com\\\/inovexlife\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inovex\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC7r66GT14hROB_RQsQBAQUQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#\\\/schema\\\/person\\\/c8b69d79f24d10ba023c773e6f730e88\",\"name\":\"Alexander Koehler\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1daa2890ce81430d74625468a1646a89dfabd4398a920224e9790f71b20fee74?s=96&d=retro&r=g340076fe0f986a5b6ea4f2d21b5542ca\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1daa2890ce81430d74625468a1646a89dfabd4398a920224e9790f71b20fee74?s=96&d=retro&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1daa2890ce81430d74625468a1646a89dfabd4398a920224e9790f71b20fee74?s=96&d=retro&r=g\",\"caption\":\"Alexander Koehler\"},\"url\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/author\\\/akoehler\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ELK on Docker Compose","description":"This\u00a0article will show you how to run an ELK on Docker using Docker Compose so you can run it on your Docker infrastructure or test it on your local system.","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.inovex.de\/de\/blog\/elk-on-docker-compose\/","og_locale":"de_DE","og_type":"article","og_title":"ELK on Docker Compose","og_description":"This\u00a0article will show you how to run an ELK on Docker using Docker Compose so you can run it on your Docker infrastructure or test it on your local system.","og_url":"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/","og_site_name":"inovex GmbH","article_publisher":"https:\/\/www.facebook.com\/inovexde","article_published_time":"2016-11-03T10:38:39+00:00","article_modified_time":"2022-12-01T10:58:01+00:00","og_image":[{"width":2300,"height":678,"url":"https:\/\/www.inovex.de\/wp-content\/uploads\/2016\/11\/elk-on-docker-1.png","type":"image\/png"}],"author":"Alexander Koehler","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.inovex.de\/wp-content\/uploads\/2016\/11\/elk-on-docker-1-1024x302.png","twitter_creator":"@inovexgmbh","twitter_site":"@inovexgmbh","twitter_misc":{"Verfasst von":"Alexander Koehler","Gesch\u00e4tzte Lesezeit":"4\u00a0Minuten","Written by":"Alexander Koehler"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#article","isPartOf":{"@id":"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/"},"author":{"name":"Alexander Koehler","@id":"https:\/\/www.inovex.de\/de\/#\/schema\/person\/c8b69d79f24d10ba023c773e6f730e88"},"headline":"Elk on Docker (-Compose)","datePublished":"2016-11-03T10:38:39+00:00","dateModified":"2022-12-01T10:58:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/"},"wordCount":475,"commentCount":0,"publisher":{"@id":"https:\/\/www.inovex.de\/de\/#organization"},"image":{"@id":"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inovex.de\/wp-content\/uploads\/2016\/11\/elk-on-docker-1.png","keywords":["Search"],"articleSection":["Analytics","English Content","General"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/","url":"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/","name":"ELK on Docker Compose","isPartOf":{"@id":"https:\/\/www.inovex.de\/de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#primaryimage"},"image":{"@id":"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inovex.de\/wp-content\/uploads\/2016\/11\/elk-on-docker-1.png","datePublished":"2016-11-03T10:38:39+00:00","dateModified":"2022-12-01T10:58:01+00:00","description":"This\u00a0article will show you how to run an ELK on Docker using Docker Compose so you can run it on your Docker infrastructure or test it on your local system.","breadcrumb":{"@id":"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#primaryimage","url":"https:\/\/www.inovex.de\/wp-content\/uploads\/2016\/11\/elk-on-docker-1.png","contentUrl":"https:\/\/www.inovex.de\/wp-content\/uploads\/2016\/11\/elk-on-docker-1.png","width":2300,"height":678,"caption":"Elk on Docker Compose Headerbild"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inovex.de\/de\/blog\/elk-on-docker-compose\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inovex.de\/de\/"},{"@type":"ListItem","position":2,"name":"Elk on Docker (-Compose)"}]},{"@type":"WebSite","@id":"https:\/\/www.inovex.de\/de\/#website","url":"https:\/\/www.inovex.de\/de\/","name":"inovex GmbH","description":"","publisher":{"@id":"https:\/\/www.inovex.de\/de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inovex.de\/de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/www.inovex.de\/de\/#organization","name":"inovex GmbH","url":"https:\/\/www.inovex.de\/de\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.inovex.de\/de\/#\/schema\/logo\/image\/","url":"https:\/\/www.inovex.de\/wp-content\/uploads\/2021\/03\/inovex-logo-16-9-1.png","contentUrl":"https:\/\/www.inovex.de\/wp-content\/uploads\/2021\/03\/inovex-logo-16-9-1.png","width":1921,"height":1081,"caption":"inovex GmbH"},"image":{"@id":"https:\/\/www.inovex.de\/de\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inovexde","https:\/\/x.com\/inovexgmbh","https:\/\/www.instagram.com\/inovexlife\/","https:\/\/www.linkedin.com\/company\/inovex","https:\/\/www.youtube.com\/channel\/UC7r66GT14hROB_RQsQBAQUQ"]},{"@type":"Person","@id":"https:\/\/www.inovex.de\/de\/#\/schema\/person\/c8b69d79f24d10ba023c773e6f730e88","name":"Alexander Koehler","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/secure.gravatar.com\/avatar\/1daa2890ce81430d74625468a1646a89dfabd4398a920224e9790f71b20fee74?s=96&d=retro&r=g340076fe0f986a5b6ea4f2d21b5542ca","url":"https:\/\/secure.gravatar.com\/avatar\/1daa2890ce81430d74625468a1646a89dfabd4398a920224e9790f71b20fee74?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1daa2890ce81430d74625468a1646a89dfabd4398a920224e9790f71b20fee74?s=96&d=retro&r=g","caption":"Alexander Koehler"},"url":"https:\/\/www.inovex.de\/de\/blog\/author\/akoehler\/"}]}},"_links":{"self":[{"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/posts\/21039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/users\/51"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/comments?post=21039"}],"version-history":[{"count":1,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/posts\/21039\/revisions"}],"predecessor-version":[{"id":30734,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/posts\/21039\/revisions\/30734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/media\/12797"}],"wp:attachment":[{"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/media?parent=21039"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/tags?post=21039"},{"taxonomy":"service","embeddable":true,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/service?post=21039"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/coauthors?post=21039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}