Loading

Capture PgSQL traffic

The pgsql sections of the packetbeat.yml config file specifies configuration options for the PgSQL protocols.

packetbeat.protocols:

- type: pgsql
  ports: [5432]

Also see Common protocol options.

The maximum number of rows from the SQL message to publish to Elasticsearch. The default is 10 rows.

The maximum length in bytes of a row from the SQL message to publish to Elasticsearch. The default is 1024 bytes.