Given the syntax example for the ranges parameter of the range plugin as follows, how would you access/evaluate the value of a nested field?
filter {
range {
ranges => [ "message", 0, 10, "tag:short",
"message", 11, 100, "tag:medium" ]
}
}
Given the syntax example for the ranges parameter of the range plugin as follows, how would you access/evaluate the value of a nested field?
filter {
range {
ranges => [ "message", 0, 10, "tag:short",
"message", 11, 100, "tag:medium" ]
}
}
I would assume that the standard [field][subfield]
notation would work.
Hm, unfortunately that didn't work (tried like the following:)
filter {
range {
ranges => [ "[parent][child]", 0, 10, "tag:short",
"[parent][child]", 11, 100, "tag:medium" ]
}
}
© 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.