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


(Robert Chen) #1

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.


How to define index name for kibana index pattern
(Mark Walkom) #2

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


(system) #3

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