I'm new to elastic and metricbeat, but I'd like to set up the mysql module with a user account that has the least required privileges. The example shows "root@" and the question about privileges was never answered in this earlier thread…
Stuck with MySQL permission
Does anyone know the incantation to create a mysql user with the correct privileges for the metricbeat mysql module to collect stats?
I believe the mysql status metricset only does show global status; and I think any user can run the query. So try a user with only the GRANT USAGE privilege.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.