title: Send spring boot logs directly to logstash with no file
body: <p>So, I'm building a full cloud solution using kubernetes and spring boot.</p>
  
  <p>My spring boot application is deployed to a container and logs directly on the console.
  As  containers are ephemerals I'd like to send logs also to a remote logstash server, so that they can be processed and sent to elastic.</p>
  
  <p>Normally I would install a filebeat on the server hosting my application, and I could, but isn't there any builtin method allowing me to avoid writing my log on a file before sending it?</p>
  
  <p>Currently I'm using log4j but I see no problem in switching to another logger as long it has a "logbackappender".</p>