New to Kestra?
Use blueprints to kickstart your first workflows.
Audit UDP syslog and telemetry collectors for silent packet loss, probe socket reachability with datagram canaries, and dispatch alerts before SIEM goes blind.
Critical observability pipelines, SIEM ingestors, security appliances, and IoT gateways overwhelmingly rely on UDP protocols (Syslog RFC 5424 / RFC 3164, StatsD metric aggregators, and sFlow collectors) due to minimal connection overhead and high-throughput streaming. However, because UDP is connectionless and unacknowledged at the transport layer, collector crashes, buffer saturation, or security group misconfigurations silently swallow telemetry data into a blackhole without generating TCP connection resets or error logs.
This sentinel workflow actively verifies UDP socket reachability and collector health. By periodically generating structured synthetic canary datagrams conforming to standard observability formats, the workflow tests network egress routes, assesses socket availability, classifies telemetry health into operational tiers via Pebble conditions, alerts Network Operations teams via Slack upon collector outages, and logs an immutable audit trail of all probe sequences.
Schedule trigger awakens the workflow every 10 minutes to execute scheduled network health probing.io.kestra.plugin.core.flow.Loop) iterates through the probe sequence, reading element values as {{ item.value }}.io.kestra.plugin.fs.udp.Send dispatches timestamped datagram packets across the network to the configured target host and UDP port.Labels execution task evaluates socket transmission metrics and assigns an operational health status tier (HEALTHY_REACHABILITY or CRITICAL_BLACKHOLE).Switch flow-control task routes execution based on the evaluated health tier.io.kestra.plugin.slack.notifications.SlackIncomingWebhook) containing target socket details, format, and runbook links.Log task records comprehensive audit telemetry including socket parameters, packet burst sizes, and execution timestamps.io.kestra.plugin.fs.udp.Send) provide pure-Java datagram transmission without requiring containerized network utilities.SLACK_WEBHOOK_URL: Incoming webhook URL for posting telemetry reachability alerts to the network operations channel (required).SLACK_WEBHOOK_URL secret in your Kestra namespace.simulate_local_mode: true) to verify the probe logic, triage routing, and audit logs without connecting to an external server.simulate_local_mode: false, enter your target udp_host and udp_port, and enable the scheduled trigger.CRITICAL_BLACKHOLE branch for immediate incident escalation.io.kestra.plugin.fs.udp.RealtimeTrigger to create a closed-loop loopback canary that measures round-trip datagram delivery time and packet loss percentages.