Hey yourself, Beelastic! Or should I camel-case that to BeElastic? I love bees, so I think both ways are cool.
I'm having a hard time imagining what you mean by dividing the two values from the two visualizations. What do you mean by a visualization's "value"?
For instance, are these visualizations both Line Charts that visualize the same data, but in different time ranges? In such a scenario, I can imagine that both charts have analogous data points, so perhaps you want to divide each data point in one chart with its analogue in the other chart?
Can you help me get a better idea of what you're trying to do?
To answer your other question, scripted fields can't contain queries.
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.