Description
Thelog_get probe tails a log file and ships newly-appended lines to VMS ingress via ProbeResult.Logs. Supports multiline grouping and sensitive data redaction before export.
Config fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
type | string | Yes | — | Must be "log_get" |
filePath | string | Yes | — | Log file path to ship |
readFromEnd | bool | No | false | true: start from EOF on first run |
maxBytesPerRead | int64 | No | 8 MiB | Per-run read window. Clamped to 8 MiB max |
multilineStartPattern | string | No | — | Regex for new log entry start. Non-matching lines join the previous entry |
redactPatterns | string[] | No | — | Regex list — each match in log lines is replaced with *** before shipping |
Metrics
| Metric | Type | Description |
|---|---|---|
vms.log_get.lines_sent | counter | Log entries shipped in this run |
Example config
Notes
- Redaction happens before shipping — matched data never leaves the agent.
- Only ships complete lines (ending with
\n).

