CMDCommand · run as root on the server · jail family
urbestack-jail-test
First published 3 Oct 2026
0.1.0Unchanged since publicationUsage
2 forms# urbestack-jail-test --name NAME [--log PATH]# urbestack-jail-test --log PATH --pattern 'REGEX with <HOST>'Description
From the command's --help outputTests a ban rule or a regular expression against up to 1,000 of the most recent lines from a log file or systemd journal. It reports the total, matched and missed line counts and includes up to three matching lines. Use --name to test a rule's filter or pattern against its configured log file or journal. Use --log to test against a different file by giving its absolute path. Use --pattern to supply your own single-line regular expression of up to 500 characters, with <HOST> where the IP address appears. When you supply --pattern, also give --log unless --name selects a rule with a log file.Usage: urbestack-jail-test --name NAME [--log PATH] urbestack-jail-test --log PATH --pattern 'REGEX with <HOST>' Tests a ban rule or a regular expression against up to 1,000 of the most recent lines from a log file or systemd journal. It reports the total, matched and missed line counts and includes up to three matching lines. Use --name to test a rule's filter or pattern against its configured log file or journal. Use --log to test against a different file by giving its absolute path. Use --pattern to supply your own single-line regular expression of up to 500 characters, with <HOST> where the IP address appears. When you supply --pattern, also give --log unless --name selects a rule with a log file.
Options
Find other commands that accept these optionsSame in the API
These operations run the command.Generated from release 0.2.35 (current) · urbestack-jail-test --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-jail-test/