Actions2
Subscribe
AI-generatedSummary
Subscribe to log events from an UnrealIRCd server, specifying a minimum log level and optional log sources, with an option to redact sensitive data from the log responses.
Inputs
- Log Level (required) — Select the minimum log level to subscribe to (Debug, Info, Warn, Error, Fatal). Events below this level are not received.
- Sources — Provide a comma-separated list of log sources to filter the subscription by specific sources. If left empty, all sources are included.
- Redaction Options — Options to redact sensitive information from log event responses. Currently supports redacting sensitive data (boolean).
Output shape
a single JSON object containing the subscription result under 'result', along with operation name and success status
The output JSON includes fields: 'operation' (set to 'subscribe'), 'success' (boolean), and 'result' which contains the response from the log subscription call. Errors are returned similarly with success false and error message if 'continueOnFail' is enabled.
Examples
Example 1: Subscribe to Info level logs from all sources without redaction
Set Log Level to Info, leave Sources empty, Redact Sensitive Data off
Example 2: Subscribe to Error and higher level logs from specific sources with sensitive data redacted
Set Log Level to Error, specify comma-separated sources, enable Redact Sensitive Data