New

The executive guide to generative AI

Read more

PostgreSQL fields

edit

Module for parsing the PostgreSQL log files.

postgresql

edit

Fields from PostgreSQL logs.

log

edit

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.error.code

Error code returned by Postgres (if any)

type: long

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

On this page

Was this helpful?
Feedback