Can I create different index patterns for different logs types in logstash?

in logstash 2.4.1,

can I create different index patterns for different logs types?

I see if just one logstash-* index pattern, it mess up all fields together.

thanks.

You can use something like index => "logstash--%{type}-%{+YYYY.MM.dd}" - assuming you have a type value.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.