Add option to log lines in JSON

Open
#502 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
postgresql
Domain
databases

Research direction

Start with the PostgreSQL runtime-config-logging documentation linked in the issue, especially the JSONLOG option. Then identify where this container exposes PostgreSQL logging configuration; the work is complete when users can enable an option that emits log lines in JSON for ingesters such as Elasticsearch or Loki.

Written by the indexing model from the issue text.

Description

This feature provides better support for ingesters that processes json to structure the logs, like elasticsearch, loki, etc.

https://www.postgresql.org/docs/current/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-JSONLOG

Dominant language
PLpgSQL
Stars
178
Forks
220
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sclorg/postgresql-container

All issues in sclorg/postgresql-container

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.