title: logstash: multiple logfiles with different pattern
body: <p>We want to set up a server for logstash for a couple of different project in our company. Now I try to enable them in Kibana. My question is: 
  If I have different patterns of the logfiles, how can I build for them a filter? 
  example: logstash.conf:</p>
  
  <pre><code>input {
    file {
      type =&gt; "A"
      path =&gt; "/home/logstash/A/*"
      start_position =&gt; "beginning"
    }
   file {
      type =&gt; "B"
      path =&gt; "/home/logstash/B*"
      start_position =&gt; "beginning"
    }
  }
  
  filter {
    multiline {
        pattern =&gt; "^%{TIMESTAMP_ISO8601}"
        negate =&gt; true
        what =&gt; "previous"
    }
    grok {
       type =&gt; A
       match =&gt; [ "message", "%{TIMESTAMP_ISO8601:logdate} %{DATA:thread %{LOGLEVEL:level}\s*%{DATA:logger_name}\s*-\s*%{GREEDYDATA:log_text}"]
  
      add_tag =&gt; [ "level_%{level}" ]
    }
    date {
          match =&gt; ["logdate", "YYYY-MM-dd HH:mm:ss,SSS"]
    }
    grok {
          type =&gt; B
          match =&gt; [ any other pattern ... 
   }
  }
  output {
    elasticsearch { embedded =&gt; true }
  }
  </code></pre>
  
  <p>do I have to create for each project (A,B,C,...) an own filter, and what do I have to do, when I have for each project again different pattern of the logfiles?</p>