WARNING: Version 1.0.1 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.affected_rows
edittype: int
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_message
editThe error info message returned by MySQL.