I have created a scripted field sc1 in kibana like;
doc['error.keyword'].value == 'error1' ? 0 : 1
this makes sc1 0 if the content is error1 and 0 if content is not error1. What I want is, I want sc1 to be 0, if the content is either error1 or error2. How can I do this?
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.