{"id":171,"date":"2023-10-08T17:48:01","date_gmt":"2023-10-08T17:48:01","guid":{"rendered":"https:\/\/securitygems.com\/?p=171"},"modified":"2023-10-08T17:50:03","modified_gmt":"2023-10-08T17:50:03","slug":"send-logs-to-mqtt","status":"publish","type":"post","link":"https:\/\/securitygems.com\/?p=171","title":{"rendered":"send logs to MQTT"},"content":{"rendered":"<div class=\"postie-post\">You may want to take selected logs from OpenWrt and send them to an MQTT server. This can be done with a bit of scripting.<br \/>\nBernie has the bead on this one <a href=\"https:\/\/gist.github.com\/mbernson\/78e53b26d3c68f997493\">gist.github.com\/mbernson\/78e53b26d3c68f997493<\/a><br \/>\nDiscussed Here <a href=\"https:\/\/forum.openwrt.org\/t\/acting-on-events-from-uci-pushing-dhcp-information-to-an-external-host\/173141\/5\">forum.openwrt.org\/t\/acting-on-events-from-uci-pushing-dhcp-information-to-an-external-host\/173141\/5<\/a><br \/>\nMore on ujail <a href=\"https:\/\/forum.openwrt.org\/t\/ujail-allowing-additional-processes-libraries-and-paths\/173773\">forum.openwrt.org\/t\/ujail-allowing-additional-processes-libraries-and-paths\/173773<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>You may want to take selected logs from OpenWrt and send them to an MQTT server. This can be done with a bit of scripting. Bernie has the bead on this one gist.github.com\/mbernson\/78e53b26d3c68f997493 Discussed Here forum.openwrt.org\/t\/acting-on-events-from-uci-pushing-dhcp-information-to-an-external-host\/173141\/5 More on ujail forum.openwrt.org\/t\/ujail-allowing-additional-processes-libraries-and-paths\/173773<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/securitygems.com\/index.php?rest_route=\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/securitygems.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/securitygems.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/securitygems.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/securitygems.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=171"}],"version-history":[{"count":0,"href":"https:\/\/securitygems.com\/index.php?rest_route=\/wp\/v2\/posts\/171\/revisions"}],"wp:attachment":[{"href":"https:\/\/securitygems.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/securitygems.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/securitygems.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}