- Packetbeat Reference: other versions:
- Overview
- Getting Started With Packetbeat
- Running Packetbeat on Docker
- Upgrading Packetbeat
- Configuring Packetbeat
- Configuration Options (Reference)
- Processors
- Setting Traffic Capturing Options
- Filtering and Enhancing the Exported Data
- Configuring Packetbeat to Use Ingest Node
- Exporting GeoIP Information
- Configuring Packetbeat to Use Logstash
- Configuring Flows to Monitor Network Traffic
- Using Environment Variables in the Configuration
- Configuring Thrift-RPC Support
- Maintaining the Real-Time State of the Network Topology
- YAML Tips and Gotchas
- Exported Fields
- AMQP Fields
- Beat Fields
- Cassandra Fields
- Cloud Provider Metadata Fields
- Common Fields
- DNS Fields
- Flow Event Fields
- HTTP Fields
- ICMP Fields
- Memcache Fields
- MongoDb Fields
- MySQL Fields
- NFS Fields
- PostgreSQL Fields
- Raw Fields
- Redis Fields
- Thrift-RPC Fields
- Transaction Event Fields
- Measurements (Transactions) Fields
- Securing Packetbeat
- Visualizing Packetbeat Data in Kibana
- Troubleshooting
- Developer Guide: Adding a New Protocol
WARNING: Version 5.4 of Packetbeat 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-specific event fields.
mysql.iserror
edittype: boolean
If the MySQL query returns an error, this field is set to true.
mysql.affected_rows
edittype: long
If the MySQL command is successful, this field contains the affected number of rows of the last statement.
mysql.insert_id
editIf the INSERT query is successful, this field contains the id of the newly inserted row.
mysql.num_fields
editIf the SELECT query is successful, this field is set to the number of fields returned.
mysql.num_rows
editIf the SELECT query is successful, this field is set to the number of rows returned.
mysql.query
editThe row mysql query as read from the transaction’s request.
mysql.error_code
edittype: long
The error code returned by MySQL.
mysql.error_message
editThe error info message returned by MySQL.
On this page