WARNING: Version 6.1 of Filebeat 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
editModule for parsing the PostgreSQL log files.
postgresql fields
editFields from PostgreSQL logs.
log fields
editFields from the PostgreSQL log files.
postgresql.log.timestamp
editThe timestamp from the log line.
postgresql.log.timezone
editThe timezone of timestamp.
postgresql.log.thread_id
edittype: long
Process id
postgresql.log.user
editexample: admin
Name of user
postgresql.log.database
editexample: mydb
Name of database
postgresql.log.level
editexample: FATAL
The log level.
postgresql.log.duration
edittype: float
example: 30.0
Duration of a query.
postgresql.log.query
editexample: SELECT * FROM users;
Query statement.
postgresql.log.message
edittype: text
The logged message.