PostgreSQL fields

edit

Module for parsing the PostgreSQL log files.

postgresql fields

edit

Fields from PostgreSQL logs.

log fields

edit

Fields from the PostgreSQL log files.

postgresql.log.timestamp

edit

The timestamp from the log line.

postgresql.log.timezone

edit

The timezone of timestamp.

postgresql.log.thread_id

edit

type: long

Process id

postgresql.log.user

edit

example: admin

Name of user

postgresql.log.database

edit

example: mydb

Name of database

postgresql.log.level

edit

example: FATAL

The log level.

postgresql.log.duration

edit

type: float

example: 30.0

Duration of a query.

postgresql.log.query

edit

example: SELECT * FROM users;

Query statement.

postgresql.log.message

edit

type: text

The logged message.