Multiple pipelines were introduced in Logstash 6.0, so unless you can upgrade you need to continue to use conditionals to separate pipelines for version 5.6 .

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB