WARNING: Version 5.6 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.
PostgreSQL Fields
editPostgreSQL Fields
editPostgreSQL-specific event fields.
pgsql.query
editThe row pgsql query as read from the transaction’s request.
pgsql.iserror
edittype: boolean
If the PgSQL query returns an error, this field is set to true.
pgsql.error_code
edittype: long
The PostgreSQL error code.
pgsql.error_message
editThe PostgreSQL error message.
pgsql.error_severity
editThe PostgreSQL error severity.
pgsql.num_fields
editIf the SELECT query if successful, this field is set to the number of fields returned.
pgsql.num_rows
editIf the SELECT query if successful, this field is set to the number of rows returned.