- Packetbeat Reference: other versions:
- Overview
- Getting started with Packetbeat
- Setting up and running Packetbeat
- Upgrading Packetbeat
- Configuring Packetbeat
- Set traffic capturing options
- Set up flows to monitor network traffic
- Specify which transaction protocols to monitor
- Specify which processes to monitor
- Specify general settings
- Configure the internal queue
- Configure the output
- Specify SSL settings
- Filter and enhance the exported data
- Parse data by using ingest node
- Export GeoIP Information
- Set up project paths
- Set up the Kibana endpoint
- Load the Kibana dashboards
- Load the Elasticsearch index template
- Configure logging
- Use environment variables in the configuration
- YAML tips and gotchas
- HTTP Endpoint
- packetbeat.reference.yml
- Exported fields
- AMQP fields
- Beat fields
- Cassandra fields
- Cloud provider metadata fields
- Common fields
- DHCPv4 fields
- DNS fields
- Docker fields
- Flow Event fields
- Host fields
- HTTP fields
- ICMP fields
- Kubernetes fields
- Memcache fields
- MongoDb fields
- MySQL fields
- NFS fields
- PostgreSQL fields
- Raw fields
- Redis fields
- Thrift-RPC fields
- TLS fields
- Transaction Event fields
- Measurements (Transactions) fields
- Monitoring Packetbeat
- Securing Packetbeat
- Visualizing Packetbeat data in Kibana
- Troubleshooting
- Contributing to Beats
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
MySQL fields
editMySQL fields
editMySQL-specific event fields.
-
mysql.iserror
-
type: boolean
If the MySQL query returns an error, this field is set to true.
-
mysql.affected_rows
-
type: long
If the MySQL command is successful, this field contains the affected number of rows of the last statement.
-
mysql.insert_id
-
If the INSERT query is successful, this field contains the id of the newly inserted row.
-
mysql.num_fields
-
If the SELECT query is successful, this field is set to the number of fields returned.
-
mysql.num_rows
-
If the SELECT query is successful, this field is set to the number of rows returned.
-
mysql.query
-
The row mysql query as read from the transaction’s request.
-
mysql.error_code
-
type: long
The error code returned by MySQL.
-
mysql.error_message
-
The error info message returned by MySQL.
Was this helpful?
Thank you for your feedback.