Log all queries from Kibana 8.3 with custom data

I want to make a plugin that captures all of the queries to elasticsearch and logs them with some custom information. How do I intercept the queries so I can add my info?

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