- Metricbeat Reference: other versions:
- Overview
- Contributing to Beats
- Getting started with Metricbeat
- Setting up and running Metricbeat
- Upgrading Metricbeat
- How Metricbeat works
- Configuring Metricbeat
- Specify which modules to run
- Specify general settings
- Load external configuration files
- Configure the internal queue
- Configure the output
- Specify SSL settings
- Filter and enhance the exported data
- Parse logs by using ingest node
- Set up project paths
- Set up the Kibana endpoint
- Load the Kibana dashboards
- Load the Elasticsearch index template
- Set up logging
- Use environment variables in the configuration
- Autodiscover
- YAML tips and gotchas
- Regular expression support
- metricbeat.reference.yml
- Modules
- Aerospike module
- Apache module
- Ceph module
- Couchbase module
- Docker module
- Dropwizard module
- Elasticsearch module
- Etcd module
- Golang module
- Graphite module
- HAProxy module
- HTTP module
- Jolokia module
- Kafka module
- Kibana module
- Kubernetes module
- Kubernetes container metricset
- Kubernetes event metricset
- Kubernetes node metricset
- Kubernetes pod metricset
- Kubernetes state_container metricset
- Kubernetes state_deployment metricset
- Kubernetes state_node metricset
- Kubernetes state_pod metricset
- Kubernetes state_replicaset metricset
- Kubernetes system metricset
- Kubernetes volume metricset
- Logstash module
- Memcached module
- MongoDB module
- MySQL module
- Nginx module
- PHP_FPM module
- PostgreSQL module
- Prometheus module
- RabbitMQ module
- Redis module
- System module
- vSphere module
- Windows module
- ZooKeeper module
- Exported fields
- Aerospike fields
- Apache fields
- Beat fields
- Ceph fields
- Cloud provider metadata fields
- Common fields
- Couchbase fields
- Docker fields
- Docker fields
- Dropwizard fields
- Elasticsearch fields
- Etcd fields
- Golang fields
- Graphite fields
- HAProxy fields
- HTTP fields
- Jolokia fields
- Kafka fields
- Kibana fields
- Kubernetes fields
- Kubernetes fields
- Logstash fields
- Memcached fields
- MongoDB fields
- MySQL fields
- Nginx fields
- PHP_FPM fields
- PostgreSQL fields
- Prometheus fields
- RabbitMQ fields
- Redis fields
- System fields
- vSphere fields
- Windows fields
- ZooKeeper fields
- Securing Metricbeat
- Troubleshooting
WARNING: Version 6.1 of Metricbeat has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
MySQL fields
editMySQL fields
editMySQL server status metrics collected from MySQL.
mysql fields
editmysql
contains the metrics that were obtained from MySQL query.
status fields
editstatus
contains the metrics that were obtained by the status SQL query.
aborted fields
editAborted status fields.
mysql.status.aborted.clients
edittype: long
The number of connections that were aborted because the client died without closing the connection properly.
mysql.status.aborted.connects
edittype: long
The number of failed attempts to connect to the MySQL server.
binlog fields
editmysql.status.binlog.cache.disk_use
edittype: long
mysql.status.binlog.cache.use
edittype: long
bytes fields
editBytes stats.
mysql.status.bytes.received
edittype: long
format: bytes
The number of bytes received from all clients.
mysql.status.bytes.sent
edittype: long
format: bytes
The number of bytes sent to all clients.
threads fields
editThreads stats.
mysql.status.threads.cached
edittype: long
The number of cached threads.
mysql.status.threads.created
edittype: long
The number of created threads.
mysql.status.threads.connected
edittype: long
The number of connected threads.
mysql.status.threads.running
edittype: long
The number of running threads.
mysql.status.connections
edittype: long
created fields
editmysql.status.created.tmp.disk_tables
edittype: long
mysql.status.created.tmp.files
edittype: long
mysql.status.created.tmp.tables
edittype: long
delayed fields
editmysql.status.delayed.errors
edittype: long
mysql.status.delayed.insert_threads
edittype: long
mysql.status.delayed.writes
edittype: long
mysql.status.flush_commands
edittype: long
mysql.status.max_used_connections
edittype: long
open fields
editmysql.status.open.files
edittype: long
mysql.status.open.streams
edittype: long
mysql.status.open.tables
edittype: long
mysql.status.opened_tables
edittype: long
command fields
editmysql.status.command.delete
edittype: long
The number of DELETE queries since startup.
mysql.status.command.insert
edittype: long
The number of INSERT queries since startup.
mysql.status.command.select
edittype: long
The number of SELECT queries since startup.
mysql.status.command.update
edittype: long
The number of UPDATE queries since startup.
On this page
- mysql fields
- status fields
- aborted fields
mysql.status.aborted.clients
mysql.status.aborted.connects
- binlog fields
mysql.status.binlog.cache.disk_use
mysql.status.binlog.cache.use
- bytes fields
mysql.status.bytes.received
mysql.status.bytes.sent
- threads fields
mysql.status.threads.cached
mysql.status.threads.created
mysql.status.threads.connected
mysql.status.threads.running
mysql.status.connections
- created fields
mysql.status.created.tmp.disk_tables
mysql.status.created.tmp.files
mysql.status.created.tmp.tables
- delayed fields
mysql.status.delayed.errors
mysql.status.delayed.insert_threads
mysql.status.delayed.writes
mysql.status.flush_commands
mysql.status.max_used_connections
- open fields
mysql.status.open.files
mysql.status.open.streams
mysql.status.open.tables
mysql.status.opened_tables
- command fields
mysql.status.command.delete
mysql.status.command.insert
mysql.status.command.select
mysql.status.command.update