I need to search already registered monitors, based on the monitor query.
As of the documentation here, API - OpenSearch documentation, I could use monitor.name and monitor.enabled to search, but could not use a fields than could be monitor.inputs.search.query for example.
Field name inspiration comes from here : Monitors - OpenSearch documentation
The purpose is to get monitors that watch a specific field with a specific value, and enable/disable them depending on which data the monitor watches.
For example, a monitor may have a query that filters using a field PRODUCT=AAA, and I would like to disable a monitor to run for nothing if there is no PRODUCT=AAA data incoming to the index for the past 10 minutes.
Is it possible?