title: How to define seperated indexes for different logs in Filebeat/ELK?
body: <p>I am wondering how to create separated indexes for different logs fetched into <code>logstash</code> (which were later passed onto <code>elasticsearch</code>), so that in <code>kibana</code>, I can define two indexes for them and discover them.</p>
  
  <p>In my case, I have a few client servers (each of which is installed with <code>filebeat</code>) and a centralized log server (<code>ELK</code>). Each client server has different kinds of logs, e.g. <code>redis.log</code>, <code>python</code> logs, <code>mongodb</code> logs, that I like to sort them into different indexes and stored in <code>elasticsearch</code>.</p>
  
  <p>Each client server also serves different purposes, e.g. databases, UIs, applications. Hence I also like to give them different index names (by changing output index in <code>filebeat.yml</code>?).</p>