In older versions of Kibana, you could get the full Kibana query syntax by just running query_string queries with a few options that Kibana sets by default, though it doesn't appear you can do that any longer (in a fully equivalent way, I know query_string queries still covers a good subset of KQL).
I'd like to get an internal CLI tool to be in step with Kibana again, if possible. Is there a (hopefully supported) http endpoint you can hit in Kibana to run KQL queries? Or otherwise some way to run KQL queries from the CLI?