v0.41.1
This commit is contained in:
1 parent
96eec3b1c6
commit
b9a5b3c153
30 files changed
+1100
-374
No files matched your search
+14
-4
@@ -14809,7 +14809,7 @@
|
||||
"/api/file-logs": {
|
||||
"get": {
|
||||
"summary": "Configured on-disk log sources",
|
||||
"description": "Lists only RustProxy log paths from the active configuration. This endpoint is independent from the Live Logs memory buffer and does not accept a filesystem path.",
|
||||
"description": "Lists only RustProxy log paths from the active configuration. This endpoint is independent from the Live Logs memory buffer and does not accept a filesystem path. Each source reports rotation (0 = file being written, N = .N/.N.gz), scope (vhost, redirect, host404, unmatched, access, error) and site (the vhost, redirect or 404 host id for per-site logs).",
|
||||
"tags": [
|
||||
"Monitoring"
|
||||
],
|
||||
@@ -14879,7 +14879,7 @@
|
||||
"/api/file-logs/query": {
|
||||
"get": {
|
||||
"summary": "Query configured on-disk logs",
|
||||
"description": "Reads bounded tails of configured RustProxy access/error log files using server-side source IDs only. The query never accepts arbitrary paths, follows no symlink on Unix, and is separate from /api/logs and /api/live-logs.",
|
||||
"description": "Reads bounded tails of configured RustProxy access/error log files using server-side source IDs only. The query never accepts arbitrary paths, follows no symlink on Unix, and is separate from /api/logs and /api/live-logs. A log (group) is read newest rotation first; each file may use the remaining scan budget. The response adds files (id, rotation, lines, partial), files_skipped, stopped_at_period, newest_ms and oldest_ms.",
|
||||
"tags": [
|
||||
"Monitoring"
|
||||
],
|
||||
@@ -14889,7 +14889,7 @@
|
||||
"name": "source",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"description": "Source ID returned by /api/file-logs, or all. Never a filesystem path.",
|
||||
"description": "Source or group ID returned by /api/file-logs, or all. Never a filesystem path. A single source (e.g. vhost-gz:app.jsonl.3.gz) reads only that file.",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -14898,12 +14898,22 @@
|
||||
"name": "consolidate_vhosts",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"description": "When true and source is vhost:<id>, scan the active JSONL plus all discovered rotated .gz members that share that vhost group.",
|
||||
"description": "When true and source is a group ID (vhost:<base>, access or error), scan the current file and all rotations of that log (.N and .N.gz), newest rotation first.",
|
||||
"schema": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "since_ms",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"description": "Only records with time_ms at or after this value (ms since the Unix epoch). For a log read newest-first, reading stops at the first rotation that is entirely older.",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "q",
|
||||
"in": "query",
|
||||
|
||||
Reference in new issue
Block a user