if [type] == "app1_app_log" or "app1_web_log" {
This doesn't mean what you think it means. Use either
if [type] in ["app1_app_log", "app1_web_log"] {
or
if [type] == "app1_app_log" or [type] == "app1_web_log" {
instead.
if [type] == "app1_app_log" or "app1_web_log" {
This doesn't mean what you think it means. Use either
if [type] in ["app1_app_log", "app1_web_log"] {
or
if [type] == "app1_app_log" or [type] == "app1_web_log" {
instead.
© 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.