title: How to handle multiple heterogeneous inputs with Logstash?
body: <p>Let's say you have 2 very different types of logs such as technical and business logs and you want:</p>
  
  <ul>
  <li>raw technical logs be routed towards a graylog2 server using a <code>gelf</code> output,</li>
  <li>json business logs be stored into an elasticsearch cluster using the dedicated <code>elasticsearch_http</code> output.</li>
  </ul>
  
  <p>I know that with <code>Syslog-NG</code> for instance, the configuration file allow to define several distinct inputs which can then be processed separately before being dispatched; what <code>Logstash</code> seems unable to do. Even if one instance can be initiated with two specific configuration files, all logs take the same channel and are being applied the same processings ...</p>
  
  <p>Should I run as many instances as I have different types of logs?</p>