title: Logstash 6.2.3 Detected a 6.x and above cluster: the `type` event field won't be used to determine the document _type
body: <p>I'm getting this warning when i start my logstash with the given below config.
  if type has been removed then how to map multiple jdbc inputs to seaparate indices called "agency" and  "subscriber". how to define output to elastic search.</p>
  
  <pre><code>input {
  jdbc {
  jdbc_driver_library =&gt; "mysql-connector-java-5.1.44.jar"
  jdbc_driver_class =&gt; "com.mysql.jdbc.Driver"
  jdbc_connection_string =&gt; "jdbc:mysql://localhost:3306/dbname"
  jdbc_user =&gt; "XXXX"
  jdbc_password =&gt; "XXXX"
  jdbc_paging_enabled =&gt; "true"
  jdbc_fetch_size  =&gt; 500
  lowercase_column_names =&gt; "false"
  schedule =&gt; "* * * * * *"
  last_run_metadata_path =&gt; "\RunConfig\logpos\agency_last_run"
  statement_filepath =&gt; "\RunConfig\sql\agency.sql"
  type =&gt; "agencydetails"
  
   }
  
   jdbc {
    type =&gt; "subscriberdetails"
    jdbc_driver_library =&gt; "mysql-connector-java-5.1.44.jar"
    jdbc_driver_class =&gt; "com.mysql.jdbc.Driver"
    jdbc_connection_string =&gt; "jdbc:mysql://localhost:3306/dbname"
    jdbc_user =&gt; "XXXX"
    jdbc_password =&gt; "XXXX"
    jdbc_paging_enabled =&gt; "true"
    jdbc_fetch_size  =&gt; 500
    lowercase_column_names =&gt; "false"
    schedule =&gt; "* * * * * *"
    last_run_metadata_path =&gt; "RunConfig\logpos\subscriber_last_run"
     statement_filepath =&gt; "\RunConfig\sql\subscriber.sql"
  }
  
   }
  </code></pre>