<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Elasticsearch on Daniel &#39;f0o&#39; Preussker</title>
    <link>https://f0o.dev/tags/elasticsearch/</link>
    <description>Recent content in Elasticsearch on Daniel &#39;f0o&#39; Preussker</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 03 Dec 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://f0o.dev/tags/elasticsearch/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Logging Insanity</title>
      <link>https://f0o.dev/posts/2021/12/logging-insanity/</link>
      <pubDate>Fri, 03 Dec 2021 00:00:00 +0000</pubDate>
      
      <guid>https://f0o.dev/posts/2021/12/logging-insanity/</guid>
      <description>&lt;h3 id=&#34;how-complex-can-you-make-log-forwarding&#34;&gt;How complex can you make log forwarding?&lt;/h3&gt;
&lt;p&gt;You&amp;rsquo;d imagine not very much, after all - what&amp;rsquo;s there to complicate?&lt;/p&gt;
&lt;p&gt;You get the logs, move them to a processor and then just write them into the persistence - right?&lt;/p&gt;
&lt;p&gt;You&amp;rsquo;d be surprised how complex you can make that&amp;hellip;&lt;/p&gt;
&lt;p&gt;This is a &lt;strong&gt;simplified&lt;/strong&gt; view of what I discovered in the wild.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;  +---------------+                   +-----------------+
  |  Application  | ---- Stdout ----&amp;gt; |  Docker Engine  |
  +---------------+                   +-----------------+
                                               |
                                              \./
  +---------------+                   +-----------------+
  |    Logspout   | &amp;lt;--- Listens ---&amp;gt; |  All stdout/s   |
  +---------------+                   +-----------------+
          |
         \./
  +---------------+                   +-----------------+
  |   Fluentbit   | --- Forward ----&amp;gt; |     HAProxy     |
  +---------------+                   +-----------------+
                                               |
                                              \./
  +---------------+                   +-----------------+
  | ElasticSearch | &amp;lt;---- Writes ---- |     Fluentd     |
  +---------------+                   +-----------------+
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I absolutely fell from my chair when I saw this. What in everything that&amp;rsquo;s holy&amp;hellip;.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
