sudo cscli collections install LearningSpot/open-webuiInstalls 1 parser and 1 scenario.
View Open WebUI →sudo cscli parsers install LearningSpot/open-webui-logsThen reload CrowdSec: sudo systemctl reload crowdsec
Sign in to see which of your engines run it →Hover a line or a note to see what each field does.
name: LearningSpot/open-webui-logsdescription: "Parse Open WebUI logs"filter: "evt.Parsed.program == 'open-webui'"onsuccess: next_stagenodes:- grok:pattern: '%{LOGLEVEL:log_level}:%{SPACE}%{IP:source_ip}:%{INT} - "POST /api/v1/auths/signin HTTP/1.1" %{NUMBER:status} Bad Request'apply_on: messagestatics:- meta: log_typevalue: open_webui_failed_authstatics:- meta: servicevalue: open_webui- meta: source_ipexpression: evt.Parsed.source_ip
Sign in to see the Security Engines that run this log parser, the version they run and whether it was modified locally.
Parser for Open WebUI Logs with Docker.
1---2source: docker3container_name:4 - open-webui5labels:6 type: open-webui
source_ipsource_ip is the client address logged by uvicorn, Open WebUI's web server (e.g. 1.2.3.4:0 or 1.2.3.4:51234; the port is ignored).
X-Forwarded-For. Otherwise every request is logged with the proxy's address, and the brute-force scenario would ban your proxy.X-Forwarded-For from any source by default (it starts uvicorn with --forwarded-allow-ips "${FORWARDED_ALLOW_IPS:-*}"). If Open WebUI can be reached without going through your proxy, a client can set this header itself and choose the logged IP. Set the FORWARDED_ALLOW_IPS environment variable to your proxy's address, or don't expose Open WebUI directly.