PostgreSQL fields

Module for parsing the PostgreSQL log files.

postgresql

Fields from PostgreSQL logs.

log

Fields from the PostgreSQL log files.

postgresql.log.timestamp

[7.3.0] Deprecated in 7.3.0.

The timestamp from the log line.

postgresql.log.core_id

Core id

type: long

postgresql.log.database

Name of database

example: mydb

postgresql.log.query

Query statement.

example: SELECT * FROM users;

postgresql.log.timezone

type: alias

alias to: event.timezone

postgresql.log.thread_id

type: alias

alias to: process.pid

postgresql.log.user

type: alias

alias to: user.name

postgresql.log.level

type: alias

alias to: log.level

postgresql.log.message

type: alias

alias to: message