That functionality must have come out in the 8.x versions at some point. I do not think there is an alternative to that and no, it won't be added. 7.17 is only getting minor bug fix patches and security patches.
Perhaps there's some confusion.
Visualizations do not work off a custom DSL query they can only be built through the visualization.
If you want that exact visualization, I think you're going to have to use something like Vega but again I do not have experience with that and I can't help.
If you take the query I showed you and perhaps open a topic with help me build a Vega visualization. Perhaps someone else can help.
Another possibility is to look at the transform functionality and see if you can get the data you want and do that form and then build a more simple visualization on top of it.
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.