explain_scenario
Shows how CrowdSec processes a log line: what parsers extract and which scenarios match. Use to understand scenario behavior without generating an alert.
Instructions
Shows how crowdsec processes a single log line: what is extracted by the parsers, and which scenarios match.
A match does not mean an alert is generated, only that the event was of interest for the scenario.
This tool MUST NEVER be called with multiple log lines. If you need to test whether a scenario generates an alert, use the `test_scenario` tool instead.
The scenario stack (manage_scenario_stack) must be running to use this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_line | Yes | A single example log line that should trigger the scenario | |
| log_type | Yes | Type of logs the scenario is intended to analyze | |
| collections | Yes | List of CrowdSec collections to install alongside the scenario | |
| scenario_yaml | Yes | Scenario YAML to explain |