Skip to main content

pidgeon loft watch

Start monitoring a directory for incoming healthcare messages.
pidgeon loft watch --directory <path> [options]
FlagTypeDefaultDescription
--directory <path>stringRequiredDirectory to watch for messages
--profile <name>stringVendor profile for validation
--file-pattern <glob>string*.hl7File pattern to match
# Watch a Mirth output directory
pidgeon loft watch --directory /var/mirth/outbound/er --profile epic_er

# Watch with custom file pattern
pidgeon loft watch --directory /var/loft/lab --file-pattern "*.txt"

pidgeon loft status

Show current monitoring status across all watched interfaces.
pidgeon loft status

pidgeon loft alerts

List recent alerts from monitored interfaces.
pidgeon loft alerts [options]
FlagTypeDefaultDescription
--severity <level>stringAllFilter: critical, warning, info
--since <duration>string24hTime window (e.g., 1h, 12h, 7d)
# View critical alerts from the last 6 hours
pidgeon loft alerts --severity critical --since 6h

# View all recent alerts
pidgeon loft alerts --since 1h

pidgeon loft report

Generate a monitoring report.
pidgeon loft report [options]
FlagTypeDefaultDescription
--format <fmt>stringtextReport format: text, html, json
--since <duration>string24hTime range for the report
# Text report for the last 24 hours
pidgeon loft report

# HTML report for the last week
pidgeon loft report --format html --since 7d --output report.html