This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Capture PgSQL traffic
editCapture PgSQL traffic
editThe pgsql
sections of the packetbeat.yml
config file specifies configuration
options for the PgSQL protocols.
packetbeat.protocols: - type: pgsql ports: [5432]
Configuration options
editAlso see Common protocol options.
max_rows
editThe maximum number of rows from the SQL message to publish to Elasticsearch. The default is 10 rows.
max_row_length
editThe maximum length in bytes of a row from the SQL message to publish to Elasticsearch. The default is 1024 bytes.