I want to make a table based on some conditions. For example I have three variables a, b, and c.
If I want to create a table which only includes records that have a>1 or b<10 or 4<c<5. What should I do? What is the grammar I could use in "Json Input" or anything else?
Thanks Aaron! I want to create a plot for the variable satisfying the following condition: a>1 or b <10 or 4<c<5. I use "Painless" script to create three Scripted Fields for a, b and c. However, after I input the following script in the "script" box for the variable "C", I got compile error. Do you know what is wrong with it?
if(doc['c'].value>4 or doc['c'].value<5) return doc['c'].value
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.