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 Fieldsedit
MySQL-specific event fields.
mysql.iserroredit
type: boolean
If the MySQL query returns an error, this field is set to true.
mysql.affected_rowsedit
type: long
If the MySQL command is successful, this field contains the affected number of rows of the last statement.
mysql.insert_idedit
If the INSERT query is successful, this field contains the id of the newly inserted row.
mysql.num_fieldsedit
If the SELECT query is successful, this field is set to the number of fields returned.
mysql.num_rowsedit
If the SELECT query is successful, this field is set to the number of rows returned.
mysql.queryedit
The row mysql query as read from the transaction’s request.
mysql.error_codeedit
type: long
The error code returned by MySQL.
mysql.error_messageedit
The error info message returned by MySQL.