Is it possible to record all the commands run in Mariadb to the elasticsearch?

Let say someone in my team run a command "SELECT * FORM TESTTABLE" in the Mariadb, and I hope the Elasticsearch can receive the command and record it down rather the output result.
image
Can anyone show me how to do this in the logstash.conf file? Thanks.

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