I have a log which contains json, i want to apply if condition if log line contains "hai" i need to push data to elasticsearch
@REQ.WS: {"message":"hai","Id":"123"}
Something like this.
if "hai" in [message] {
elasticsearch { ... }
}
I have a log which contains json, i want to apply if condition if log line contains "hai" i need to push data to elasticsearch
@REQ.WS: {"message":"hai","Id":"123"}
Something like this.
if "hai" in [message] {
elasticsearch { ... }
}
© 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.