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