title: Is it possible to use stdout/stderr as fluentd source?
body: <h3>Question:</h3>
  
  <p><strong>Is it possible to use stdout/stderr as fluentd source?</strong><br>
  If not, are there some sort of workaround to implement this?</p>
  
  <h3>Background:</h3>
  
  <p>I have to containerize a NodeJS web server that uses <code>json-log</code> as a logging resource.<br>
  Since containers are <em>ephemeral</em>, I want to extract it's logs for debugging purposes.<br>
  To do this, I've decided to use EFK stack.  </p>
  
  <p>However, since...</p>
  
  <blockquote>
    <p>The philosophy of <code>json-log</code> is...</p>
    
    <p><strong>Write to stdout/err</strong></p>
  </blockquote>
  
  <p>I can only get the logs of the web server from stdout.<br>
  After going through the fluentd documentation, I didn't find a way to use stdout/stderr as a source.  </p>
  
  <h3>Related question:</h3>
  
  <p><a href="https://stackoverflow.com/questions/44811527">Is it possible to use stdout as a fluentd source to capture specific logs for write to elasticsearch?</a><br>
  The question has an answer but it is inapplicable in my case.</p>