Skip to content

Commit 4e9036a

Browse files
authored
Add json_flattened log_format to docs (#77)
1 parent f0c8422 commit 4e9036a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/configuration/pgdog.toml/general.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,8 @@ Format to use for PgDog application logs.
638638
Available options:
639639

640640
- `text` (default): human-readable text logs
641-
- `json`: structured JSON logs suitable for ECS/Datadog ingestion
641+
- `json`: structured JSON logs suitable for ECS/Datadog ingestion (`{"timestamp":"2026-05-19T10:40:00.330523Z","level":"INFO","fields":{"message":"body", "field": "value"}}`)
642+
- `json_flattened`: structured JSON logs with flattened fields at the top level (`{"timestamp":"2026-05-19T11:24:44.192447Z","level":"INFO","message":"body","field":"value"}`)
642643

643644
Default: **`text`**
644645

0 commit comments

Comments
 (0)