Skip to content

Logging

Methods

Logging.GetLogEntries

CONTROL

Get the LogEntries matching the given filter. "sources": Builtin sources are: "core", "rules", "scripts", "integrations". May be extended by experience plugins. "columns": Columns to be returned. "filter": A map of column:value entries. Only = is supported currently. "startTime": The datetime of the oldest entry, in ms. "endTime": The datetime of the newest entry, in ms. "sampleRate": If given, returns a sampled series of the values, filling in gaps with the previous value. "sortOrder": Sort order of results. Note that this impacts the filling of gaps when resampling. "limit": Maximum amount of entries to be returned. "offset": Offset to be skipped before returning entries.

Parameters:

Field Type Notes
columns String[] optional
endTime Uint optional
filter Variant optional
limit Int optional
offset Int optional
sampleRate SampleRate optional
sortOrder SortOrder optional
startTime Uint optional
sources String[]

Returns:

Field Type Notes
count Int
logEntries LogEntries optional
offset Int

Notifications

Logging.LogEntryAdded

Emitted when a log entry is added. This will only be emitted for discrete series, not for resampled entries

Parameters:

Field Type Notes
logEntry LogEntry