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.
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.