I looked through all the other panel settings as shown in image below, but there's nothing that indicates how the query is constructed or how to edit it:
Good Job... You got to it first.. .and just to be precise that is not a Lens Visualization the is a "Legacy Visualization) that was created pre-Lens. That dashboard still uses some of the older visualizations.
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.