WARNING: Version 5.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.
PostgreSQL Fieldsedit
PostgreSQL-specific event fields.
pgsql.queryedit
The row pgsql query as read from the transaction’s request.
pgsql.iserroredit
type: boolean
If the PgSQL query returns an error, this field is set to true.
pgsql.error_codeedit
type: long
The PostgreSQL error code.
pgsql.error_messageedit
The PostgreSQL error message.
pgsql.error_severityedit
The PostgreSQL error severity.
pgsql.num_fieldsedit
If the SELECT query if successful, this field is set to the number of fields returned.
pgsql.num_rowsedit
If the SELECT query if successful, this field is set to the number of rows returned.