Closed harwinds closed 2 years ago
Hi @harwinds , I assume you're trying to create Alerting Monitor with PPL queries. You can check out by our explain API: https://github.com/opendistro-for-elasticsearch/sql/blob/develop/docs/experiment/ppl/interfaces/endpoint.rst#explain. However, the output is a query plan rather than pure DSL query which won't work by copy. I think the best way is to integrate with SQL/PPL from Alerting internally. So I'm transferring this issue to Alerting team.
Closing in favor of https://github.com/opensearch-project/alerting/issues/96
To Create new monitors, currently there is an option to use query DSL only. Looking for an alternative to create monitors using PPL, as PPL is much more easier to understand. Alternative solution, is there a way to convert PPL queries into query DSL?