My goal is to go to Kibana > Dashboard > [Packetbeat] MySQL performance ECS
and see some visualizations of my mysql performance.
I find that [Packetbeat] MySQL performance
only shows a bunch of No results found
widgets. No data appears for any time frame no matter how many queries I perform in MySQL.
To get [Packetbeat] MySQL performance
to show data, I have to install Metricbeat and upload the file /etc/metricbeat/modules.d/mysql.yml
with the following contents:
- module: mysql
period: 10s
hosts: ["root:root@tcp(127.0.0.1:3306)/"]
Once I do a systemctl start metricbeat
, then suddenly [Packetbeat] MySQL performance
shows data.
Is this expected behaviour? Is Metricbeat a prerequisite/requirement to using [Packetbeat] MySQL performance ECS?