Is it possible to block queries in advance?

Hello everyone,

Is it possible to inspect incoming queries before they are run, and deny their execution depending on certain things?

For example, suppose I'd like to reject a query if it's about to run on more than 4 indices.

Is this possible by developing a plugin? Is there an existing option (plugin or other)?
Will I suffer a significant reduction in cluster performance?

Thank you

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.