title: Output for logstash kafka
body: <p>Is there a way to process the output files into different servers? Below is for one server and if it fails how can I forward this to another server. Any hints would be appreciated. I can implement it using IF condition but since I am new to this, I did not understand what exactly to be used.</p>
  <pre><code>output {
     kafka { 
       bootstrap_servers =&gt; &quot;kafka&quot;
       codec =&gt; json{}
       topic_id =&gt;  &quot;my-topic&quot;
      }
  }
  </code></pre>