Skip to content

observe.logs

Single-shot read of a log source; returns per-pattern match counts + sample lines

Properties

Property Type Required Description
container string No -
journal_unit string No -
max_bytes integer No -
max_lines integer No -
path string No -
patterns array Yes -
sample_lines integer No -
since string No -

Platform Support

linux, darwin, windows, freebsd