This is basically a re-invented syslog(3), with a builtin, (supposedly) ephemeral log aggregation service thrown in. It makes some sense for an embedded device, but depending on how restricted your environment is, sending out a UDP packet might be an order of magnitude easier than completing an HTTP transaction. Otherwise, your operating system already has you covered.
https://man7.org/linux/man-pages/man3/syslog.3.html https://man.openbsd.org/syslog.3 https://learn.microsoft.com/en-us/powershell/module/microsof... and so on.