Two file output in Logstash

Just to add to Badger, you can add rubydebug on the top of output for better diagnostic.

output {
  stdout { codec => rubydebug }

if "tag1" in [tags]{
...
}