Skip to content

log_stream_filter_options_get

Tech

Returns available options that can be passed to the log_stream_start method.

Params

N/A

Return

attribute description
sources*
[Source]
The available log sources

Type

attribute description
label*
i18n@log_stream_filter
A translation key for the source label to be used in interactive environments
value*
string
The unique ID of the type

Example

The result object value:

{
  "sources": [
    {
        "label": "main",
        "value": "main"
    },
    {
        "label": "rrdiag",
        "value": "rrdiag"
    },
    {
        "label": "rrsp",
        "value": "rrsp"
    }
  ]
}