I have created a scripted field
sc1 in kibana like;
doc['error.keyword'].value == 'error1' ? 0 : 1
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
error2. How can I do this?
Thanks in advance..