{"id":24954,"date":"2026-08-31T17:00:52","date_gmt":"2026-08-31T08:00:52","guid":{"rendered":"https:\/\/www.ecomottblog.com\/?p=24954"},"modified":"2026-08-31T17:29:40","modified_gmt":"2026-08-31T08:29:40","slug":"%e3%83%97%e3%83%ad%e3%82%bb%e3%82%b9%e9%80%a3%e6%90%ba%e3%81%a7%e3%81%a4%e3%81%8f%e3%82%8b%e3%82%a4%e3%83%99%e3%83%b3%e3%83%88%e9%a7%86%e5%8b%95%e3%82%b7%e3%82%b9%e3%83%86%e3%83%a0","status":"publish","type":"post","link":"https:\/\/www.ecomottblog.com\/?p=24954","title":{"rendered":"\u30d7\u30ed\u30bb\u30b9\u9023\u643a\u3067\u3064\u304f\u308b\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u30b7\u30b9\u30c6\u30e0"},"content":{"rendered":"<p class=\"code-line code-active-line\" dir=\"auto\" data-line=\"0\">\u3053\u3093\u306b\u3061\u306f\u3002\u30c7\u30d0\u30a4\u30b9\u30bd\u30d5\u30c8\u30a6\u30a8\u30a2\u958b\u767a\u90e8\u306e\u672c\u9593\u3067\u3059\u3002<\/p>\n<p class=\"code-line code-active-line\" dir=\"auto\" data-line=\"0\">\u5f0a\u793e\u3067\u306f\u3001\u69d8\u3005\u306a IoT \u6a5f\u5668\u3092\u958b\u767a\u30fb\u8ca9\u58f2\u3057\u3066\u304a\u308a\u307e\u3059\u3002 \u79c1\u3082\u3053\u308c\u307e\u3067\u3001\u3044\u304f\u3064\u304b\u306e IoT \u6a5f\u5668\u306e\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u958b\u767a\u306b\u643a\u308f\u3063\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p class=\"code-line code-active-line\" dir=\"auto\" data-line=\"0\">IoT \u6a5f\u5668\u306b\u6c42\u3081\u3089\u308c\u308b\u6a5f\u80fd\u306f\u3001\u30bb\u30f3\u30b5\u30c7\u30fc\u30bf\u306e\u53ce\u96c6\u3001\u7570\u5e38\u306e\u691c\u77e5\u3001\u30af\u30e9\u30a6\u30c9\u3068\u306e\u9023\u643a\u3001\u6a5f\u5668\u72b6\u614b\u306e\u7ba1\u7406\u306a\u3069\u591a\u5c90\u306b\u308f\u305f\u308a\u307e\u3059\u3002 \u3053\u308c\u3089\u306e\u6a5f\u80fd\u3092\u3069\u306e\u3088\u3046\u306a\u4ed5\u7d44\u307f\u3067\u5b9f\u73fe\u3059\u308b\u304b\u3092\u8003\u3048\u308b\u3053\u3068\u306f\u3001IoT \u6a5f\u5668\u306e\u30b7\u30b9\u30c6\u30e0\u8a2d\u8a08\u306b\u304a\u3051\u308b\u9762\u767d\u3055\u306e\u4e00\u3064\u3060\u3068\u611f\u3058\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p class=\"code-line code-active-line\" dir=\"auto\" data-line=\"0\">\u4eca\u56de\u306f\u3001\u305d\u306e\u3088\u3046\u306a\u30b7\u30b9\u30c6\u30e0\u8a2d\u8a08\u306e\u4e00\u4f8b\u3068\u3057\u3066\u3001Fluent Bit \u3092\u30a4\u30d9\u30f3\u30c8\u30eb\u30fc\u30bf\u30fc\u3068\u3057\u3066\u5229\u7528\u3057\u3001\u8907\u6570\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u30a4\u30d9\u30f3\u30c8\u3067\u9023\u643a\u3055\u305b\u308b\u69cb\u6210\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p dir=\"auto\" data-line=\"0\"><!--more--><\/p>\n<p dir=\"auto\" data-line=\"8\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-24961 aligncenter\" src=\"https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/event-routing.jpg\" alt=\"\" width=\"1672\" height=\"941\" srcset=\"https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/event-routing.jpg 1672w, https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/event-routing-300x169.jpg 300w, https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/event-routing-1024x576.jpg 1024w, https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/event-routing-768x432.jpg 768w, https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/event-routing-1536x864.jpg 1536w, https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/event-routing-304x171.jpg 304w, https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/event-routing-282x159.jpg 282w\" sizes=\"(max-width: 1672px) 100vw, 1672px\" \/><\/p>\n<h1 id=\"\u8907\u6570\u30d7\u30ed\u30bb\u30b9\u306b\u3088\u308b\u8a2d\u8a08\" class=\"code-line\" dir=\"auto\" data-line=\"10\">\u8907\u6570\u30d7\u30ed\u30bb\u30b9\u306b\u3088\u308b\u8a2d\u8a08<\/h1>\n<p class=\"code-line\" dir=\"auto\" data-line=\"12\">\u7d44\u8fbc\u307f\u30b7\u30b9\u30c6\u30e0\u3068\u4e00\u8a00\u3067\u3044\u3063\u3066\u3082\u3001\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306e\u69cb\u6210\u3084\u6027\u80fd\u306f\u30b7\u30b9\u30c6\u30e0\u6bce\u306b\u69d8\u3005\u3067\u3042\u308a\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u8a2d\u8a08\u3082\u305d\u308c\u3089\u306e\u6761\u4ef6\u306b\u3088\u3063\u3066\u5927\u304d\u304f\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"14\">\u4f4e\u30ea\u30bd\u30fc\u30b9\u3060\u3063\u305f\u308a\u3001\u30cf\u30fc\u30c9\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u6027\u304c\u6c42\u3081\u3089\u308c\u305f\u308a\u3059\u308b\u30c7\u30d0\u30a4\u30b9\u3067\u306f\u3001\u30d9\u30a2\u30e1\u30bf\u30eb\u3084 RTOS \u3092\u63a1\u7528\u3059\u308b\u3053\u3068\u3082\u591a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002 \u4e00\u822c\u7684\u306a\u30d9\u30a2\u30e1\u30bf\u30eb\u74b0\u5883\u3084\u591a\u304f\u306e RTOS \u3067\u306f\u3001\u6c4e\u7528 OS \u306e\u3088\u3046\u306b\u30e6\u30fc\u30b6\u30fc\u30d7\u30ed\u30bb\u30b9\u3092\u5b9f\u884c\u3059\u308b\u4ed5\u7d44\u307f\u3092\u6301\u305f\u306a\u3044\u305f\u3081\u3001 \u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u3084\u5236\u5fa1\u30ed\u30b8\u30c3\u30af\u306a\u3069\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5358\u4e00\u306e\u5b9f\u884c\u5f62\u5f0f\u3078\u30ea\u30f3\u30af\u3057\u3001\u305d\u306e\u4e2d\u3067\u95a2\u6570\u3084\u30e2\u30b8\u30e5\u30fc\u30eb\u3001RTOS \u306e\u30bf\u30b9\u30af\u3068\u3057\u3066\u8cac\u52d9\u3092\u5206\u3051\u3066\u3044\u304f\u69cb\u6210\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"14\">\u4e00\u65b9\u3001\u7d44\u8fbc\u307f Linux \u306a\u3069\u306e\u6c4e\u7528 OS \u304c\u52d5\u4f5c\u3059\u308b\u6bd4\u8f03\u7684\u30ea\u30bd\u30fc\u30b9\u306b\u4f59\u88d5\u306e\u3042\u308b\u30c7\u30d0\u30a4\u30b9\u3067\u306f\u3001<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9\" data-href=\"https:\/\/ja.wikipedia.org\/wiki\/%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9\">\u30d7\u30ed\u30bb\u30b9<\/a>\u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u3088\u3046\u306a\u30c7\u30d0\u30a4\u30b9\u3067\u306f\u3001\u30bb\u30f3\u30b5\u30c7\u30fc\u30bf\u306e\u53ce\u96c6\u3060\u3051\u3067\u306a\u304f\u3001\u30c7\u30fc\u30bf\u306e\u76e3\u8996\u30fb\u8a18\u9332\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u901a\u4fe1\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u66f4\u65b0\u306a\u3069\u591a\u304f\u306e\u6a5f\u80fd\u3092\u6301\u3064\u3053\u3068\u3082\u5c11\u306a\u304f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"14\">\u305d\u3053\u3067\u3001\u6a5f\u80fd\u3054\u3068\u306b\u30d7\u30ed\u30bb\u30b9\u3092\u5206\u3051\u3001\u305d\u308c\u305e\u308c\u306b\u8cac\u52d9\u3092\u6301\u305f\u305b\u308b\u8a2d\u8a08\u304c\u9078\u629e\u80a2\u306b\u306a\u308a\u307e\u3059\u3002 \u8cac\u52d9\u3092\u9069\u5207\u306b\u5206\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u308c\u3070\u3001\u6a5f\u80fd\u540c\u58eb\u3092\u758e\u7d50\u5408\u306b\u3057\u3084\u3059\u304f\u306a\u308a\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u3068\u3057\u3066\u6a5f\u80fd\u8ffd\u52a0\u3084\u4fdd\u5b88\u3092\u884c\u3044\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"14\">\u305f\u3060\u3057\u3001\u30d7\u30ed\u30bb\u30b9\u3092\u5206\u3051\u308c\u3070\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u304c\u81ea\u52d5\u7684\u306b\u5358\u7d14\u306b\u306a\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 \u305d\u308c\u307e\u3067\u95a2\u6570\u547c\u3073\u51fa\u3057\u3067\u6e08\u3093\u3067\u3044\u305f\u6a5f\u80fd\u9593\u306e\u9023\u643a\u3092\u3001\u4eca\u5ea6\u306f\u30d7\u30ed\u30bb\u30b9\u9593\u901a\u4fe1\u3068\u3057\u3066\u8a2d\u8a08\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u901a\u4fe1\u65b9\u6cd5\u3084\u30c7\u30fc\u30bf\u5f62\u5f0f\u306a\u3069\u3001\u30d7\u30ed\u30bb\u30b9\u9593\u3067\u30c7\u30fc\u30bf\u3092\u3084\u308a\u53d6\u308a\u3059\u308b\u305f\u3081\u306e\u53d6\u308a\u6c7a\u3081\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"14\">\u3053\u3053\u304b\u3089\u306f\u3001\u7d44\u8fbc\u307f Linux \u306a\u3069\u306e\u6c4e\u7528 OS \u3092\u642d\u8f09\u3057\u305f IoT \u6a5f\u5668\u3092\u5bfe\u8c61\u306b\u3001\u30d7\u30ed\u30bb\u30b9\u9593\u306e\u9023\u643a\u306b\u3064\u3044\u3066\u8003\u3048\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h1 id=\"\u30a4\u30d9\u30f3\u30c8\u3067\u30d7\u30ed\u30bb\u30b9\u3092\u9023\u643a\u3055\u305b\u308b\" class=\"code-line\" dir=\"auto\" data-line=\"30\">\u30a4\u30d9\u30f3\u30c8\u3067\u30d7\u30ed\u30bb\u30b9\u3092\u9023\u643a\u3055\u305b\u308b<\/h1>\n<p class=\"code-line\" dir=\"auto\" data-line=\"32\">\u8907\u6570\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u9023\u643a\u3055\u305b\u308b\u65b9\u6cd5\u306f\u69d8\u3005\u3067\u3059\u3002 UNIX \u3067\u53e4\u304f\u304b\u3089\u4f7f\u308f\u308c\u3066\u304d\u305f<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E3%83%91%E3%82%A4%E3%83%97_(%E3%82%B3%E3%83%B3%E3%83%94%E3%83%A5%E3%83%BC%E3%82%BF)\" data-href=\"https:\/\/ja.wikipedia.org\/wiki\/%E3%83%91%E3%82%A4%E3%83%97_(%E3%82%B3%E3%83%B3%E3%83%94%E3%83%A5%E3%83%BC%E3%82%BF)\">\u30d1\u30a4\u30d7<\/a>\u306b\u3088\u308b\u30d5\u30a3\u30eb\u30bf\u3082\u3001\u5f37\u529b\u306a\u624b\u6bb5\u306e\uff11\u3064\u3067\u3057\u3087\u3046\u3002 \u4eca\u56de\u306f\u3001\u305d\u306e\u4e2d\u3067\u3082\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u578b\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\uff08Event-Driven Architecture\u3001EDA\uff09\u306e\u8003\u3048\u65b9\u3092\u53d6\u308a\u5165\u308c\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"36\">EDA \u306e\u8003\u3048\u65b9\u3067\u306f\u3001\u300c\u30c9\u30a2\u3092\u958b\u3051\u305f\u300d\u300c\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u300d\u3068\u3044\u3063\u305f\u3001\u30b7\u30b9\u30c6\u30e0\u5185\u3067\u8d77\u304d\u305f\u3053\u3068\u3092\u30a4\u30d9\u30f3\u30c8\u3068\u3057\u3066\u901a\u77e5\u3057\u3001\u5fc5\u8981\u306a\u51e6\u7406\u304c\u305d\u306e\u30a4\u30d9\u30f3\u30c8\u306b\u53cd\u5fdc\u3057\u307e\u3059\u3002 \u3042\u308b\u51e6\u7406\u304c\u5225\u306e\u51e6\u7406\u3092\u540c\u671f\u7684\u306b\u547c\u3073\u51fa\u3059\u306e\u3067\u306f\u306a\u304f\u3001\u4ed6\u306e\u51e6\u7406\u3078\u8d77\u304d\u305f\u3053\u3068\u3092\u975e\u540c\u671f\u306b\u77e5\u3089\u305b\u308b\u70b9\u304c\u7279\u5fb4\u3067\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"39\">\u57fa\u672c\u7684\u306b\u3001EDA \u306f\u6b21\u306e\uff13\u3064\u306e\u8981\u7d20\u3067\u69cb\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<table class=\"code-line\" dir=\"auto\" data-line=\"41\">\n<thead class=\"code-line\" dir=\"auto\" data-line=\"41\">\n<tr class=\"code-line\" dir=\"auto\" data-line=\"41\">\n<th>\u69cb\u6210\u8981\u7d20<\/th>\n<th>\u5f79\u5272<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"code-line\" dir=\"auto\" data-line=\"43\">\n<tr class=\"code-line\" dir=\"auto\" data-line=\"43\">\n<td>\u30d7\u30ed\u30c7\u30e5\u30fc\u30b5\u30fc<\/td>\n<td>\u51fa\u6765\u4e8b\u3092\u30a4\u30d9\u30f3\u30c8\u3068\u3057\u3066\u9001\u4fe1\u3059\u308b<\/td>\n<\/tr>\n<tr class=\"code-line\" dir=\"auto\" data-line=\"44\">\n<td>\u30a4\u30d9\u30f3\u30c8\u30eb\u30fc\u30bf\u30fc<\/td>\n<td>\u30a4\u30d9\u30f3\u30c8\u306e\u7a2e\u985e\u3092\u898b\u3066\u914d\u9001\u5148\u3092\u6c7a\u3081\u308b<\/td>\n<\/tr>\n<tr class=\"code-line\" dir=\"auto\" data-line=\"45\">\n<td>\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc<\/td>\n<td>\u53d7\u4fe1\u3057\u305f\u30a4\u30d9\u30f3\u30c8\u3092\u51e6\u7406\u3059\u308b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-25300 aligncenter\" src=\"https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/event-router.png\" alt=\"\" width=\"600\" height=\"226\" srcset=\"https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/event-router.png 600w, https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/event-router-300x113.png 300w, https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/event-router-304x115.png 304w, https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/event-router-282x106.png 282w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>\u30d7\u30ed\u30c7\u30e5\u30fc\u30b5\u30fc\u306f\u6700\u7d42\u7684\u306a\u914d\u9001\u5148\u3092\u77e5\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u3082\u3001\u30d7\u30ed\u30c7\u30e5\u30fc\u30b5\u30fc\u3092\u5909\u66f4\u305b\u305a\u3001\u30a4\u30d9\u30f3\u30c8\u30eb\u30fc\u30bf\u30fc\u5074\u3067\u914d\u9001\u5148\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E5%87%BA%E7%89%88-%E8%B3%BC%E8%AA%AD%E5%9E%8B%E3%83%A2%E3%83%87%E3%83%AB\" data-href=\"https:\/\/ja.wikipedia.org\/wiki\/%E5%87%BA%E7%89%88-%E8%B3%BC%E8%AA%AD%E5%9E%8B%E3%83%A2%E3%83%87%E3%83%AB\">Pub\/Sub \u65b9\u5f0f<\/a>\u306e MQTT \u3067\u8a00\u3048\u3070\u3001\u30c8\u30d4\u30c3\u30af\u3078\u306e <code>publish<\/code> \u304c\u30a4\u30d9\u30f3\u30c8\u306e\u9001\u4fe1\u3001\u30c8\u30d4\u30c3\u30af\u3078\u306e <code>subscribe<\/code> \u304c\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc\u306e\u8ffd\u52a0\uff08\u30a4\u30d9\u30f3\u30c8\u8cfc\u8aad\uff09\u306b\u76f8\u5f53\u3059\u308b\u3068\u8a00\u3048\u307e\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"73\">EDA \u306e\u8003\u3048\u65b9\u306f\u3001\u30af\u30e9\u30a6\u30c9\u4e0a\u306e\u30b5\u30fc\u30d3\u30b9\u9593\u3060\u3051\u3067\u306a\u304f\u3001\u30c7\u30d0\u30a4\u30b9\u5185\u306e\u30d7\u30ed\u30bb\u30b9\u9593\u9023\u643a\u306b\u3082\u9069\u7528\u3067\u304d\u307e\u3059\u3002 \u672c\u8a18\u4e8b\u3067\u306f\u3001\u305d\u306e\u4e00\u4f8b\u3068\u3057\u3066\u3001\u30a4\u30d9\u30f3\u30c8\u30eb\u30fc\u30bf\u30fc\u3092\u4ecb\u3057\u3066\u8907\u6570\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u9023\u643a\u3055\u305b\u308b\u69cb\u6210\u3092\u4f5c\u3063\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h1 id=\"fluent-bit-\u3092\u30a4\u30d9\u30f3\u30c8\u30eb\u30fc\u30bf\u30fc\u3068\u3057\u3066\u4f7f\u3046\" class=\"code-line\" dir=\"auto\" data-line=\"76\">Fluent Bit \u3092\u30a4\u30d9\u30f3\u30c8\u30eb\u30fc\u30bf\u30fc\u3068\u3057\u3066\u4f7f\u3046<\/h1>\n<p class=\"code-line\" dir=\"auto\" data-line=\"78\">\u672c\u8a18\u4e8b\u3067\u30a4\u30d9\u30f3\u30c8\u30eb\u30fc\u30bf\u30fc\u3068\u3057\u3066\u4f7f\u3046\u306e\u304c&nbsp;<a href=\"https:\/\/fluentbit.io\/\" data-href=\"https:\/\/fluentbit.io\/\">Fluent Bit<\/a>&nbsp;\u3067\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"80\">Fluent Bit \u306f\u3001\u30ed\u30b0\u3084\u5404\u7a2e\u30c7\u30fc\u30bf\u3092\u53ce\u96c6\u30fb\u51e6\u7406\u30fb\u8ee2\u9001\u3067\u304d\u308b\u8efd\u91cf\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002\u30c6\u30ec\u30e1\u30c8\u30ea\u30fc\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3068\u3044\u3046\u30c4\u30fc\u30eb\u306b\u5206\u985e\u3055\u308c\u308b\u305d\u3046\u3067\u3059\u3002Input\u30fbFilter\u30fbOutput \u306a\u3069\u3092\u7d44\u307f\u5408\u308f\u305b\u3066<a href=\"https:\/\/docs.fluentbit.io\/manual\/concepts\/data-pipeline\" data-href=\"https:\/\/docs.fluentbit.io\/manual\/concepts\/data-pipeline\">\u30c7\u30fc\u30bf\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3<\/a>\u3092\u69cb\u6210\u3067\u304d\u307e\u3059\u3002Input \u3059\u308b\u30c7\u30fc\u30bf\u306b\u306f\u30bf\u30b0\u3092\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u305d\u306e\u30bf\u30b0\u3092\u4f7f\u3063\u3066\u914d\u9001\u5148\u3092\u632f\u308a\u5206\u3051\u3089\u308c\u307e\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"84\">Fluent Bit \u306f\u3001MQTT \u3084 NATS \u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3067\u3082\u3001ZeroMQ \u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3082\u3042\u308a\u307e\u305b\u3093\u3002\u4e00\u65b9\u3067\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3084\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3001\u30d0\u30c3\u30d5\u30a1\u30ea\u30f3\u30b0\u306a\u3069\u3001\u30a4\u30d9\u30f3\u30c8\u914d\u9001\u306b\u3082\u5229\u7528\u3067\u304d\u308b\u6a5f\u80fd\u3092\u5099\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"86\">IoT \u6a5f\u5668\u306e\u3088\u3046\u306b\u30d7\u30ed\u30bb\u30b9\u69cb\u6210\u304c\u6bd4\u8f03\u7684\u56fa\u5b9a\u3055\u308c\u3066\u3044\u308b\u30b7\u30b9\u30c6\u30e0\u3067\u3042\u308c\u3070\u3001\u30a4\u30d9\u30f3\u30c8\u306e\u914d\u9001\u7d4c\u8def\u306e\u8a2d\u5b9a\u3092\u5404\u30d7\u30ed\u30bb\u30b9\u304b\u3089\u5207\u308a\u96e2\u3057\u3001Fluent Bit \u306e\u8a2d\u5b9a\u3078\u96c6\u7d04\u3067\u304d\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u3053\u306e\u7279\u5fb4\u3092\u5229\u7528\u3057\u3066\u3001\u30db\u30b9\u30c8\u5185\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u4e8b\u524d\u306b\u8a2d\u5b9a\u3057\u305f\u5b9b\u5148\u3078\u914d\u9001\u3059\u308b\u30a4\u30d9\u30f3\u30c8\u30eb\u30fc\u30bf\u30fc\u3068\u3057\u3066\u4f7f\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"90\">\u305d\u306e\u3088\u3046\u306a\u7406\u7531\u304b\u3089\u672c\u8a18\u4e8b\u3067\u306f Fluent Bit \u3092\u4f7f\u3063\u3066\u307f\u307e\u3059\u304c\u3001\u30a4\u30d9\u30f3\u30c8\u9023\u643a\u306e\u7528\u9014\u3067\u306f\u3001\u4e00\u822c\u7684\u306b\u306f\u6b21\u306e\u3088\u3046\u306a\u6280\u8853\u304c\u3088\u304f\u4f7f\u308f\u308c\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<table class=\"code-line\" dir=\"auto\" data-line=\"92\">\n<thead class=\"code-line\" dir=\"auto\" data-line=\"92\">\n<tr class=\"code-line\" dir=\"auto\" data-line=\"92\">\n<th>\u6280\u8853\u30fb\u4ed5\u7d44\u307f<\/th>\n<th>\u5411\u3044\u3066\u3044\u308b\u30b1\u30fc\u30b9<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"code-line\" dir=\"auto\" data-line=\"94\">\n<tr class=\"code-line\" dir=\"auto\" data-line=\"94\">\n<td><a href=\"https:\/\/zeromq.org\/\">ZeroMQ<\/a><\/td>\n<td>\u30d6\u30ed\u30fc\u30ab\u30fc\u30ec\u30b9\u306e\u9ad8\u901f\u306a\u30d7\u30ed\u30bb\u30b9\u9593\u901a\u4fe1<\/td>\n<\/tr>\n<tr class=\"code-line\" dir=\"auto\" data-line=\"95\">\n<td><a href=\"https:\/\/ja.wikipedia.org\/wiki\/MQTT\">MQTT<\/a><\/td>\n<td>\u30b5\u30fc\u30d0\u30fb\u30c7\u30d0\u30a4\u30b9\u9593\u306e\u901a\u4fe1\u3001QoS \u306b\u3088\u308b\u914d\u9001\u5236\u5fa1<\/td>\n<\/tr>\n<tr class=\"code-line\" dir=\"auto\" data-line=\"96\">\n<td><a href=\"https:\/\/nats.io\/\">NATS<\/a><\/td>\n<td>\u9ad8\u901f\u306a\u30d7\u30ed\u30bb\u30b9\u9593\u901a\u4fe1\u3001<a href=\"https:\/\/docs.nats.io\/concepts\/jetstream\">JetStream<\/a> \u306b\u3088\u308b\u6c38\u7d9a\u5316\u30fb\u518d\u914d\u9001<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1 id=\"fluent-bit-\u3067\u30b7\u30b9\u30c6\u30e0\u3092\u7d44\u3093\u3067\u307f\u308b\" class=\"code-line\" dir=\"auto\" data-line=\"111\">Fluent Bit \u3067\u30b7\u30b9\u30c6\u30e0\u3092\u7d44\u3093\u3067\u307f\u308b<\/h1>\n<p class=\"code-line\" dir=\"auto\" data-line=\"100\">\u305d\u308c\u3067\u306f Fluent Bit \u3067\u7c21\u5358\u306a\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u30b7\u30b9\u30c6\u30e0\u3092\u7d44\u3093\u3067\u307f\u307e\u3057\u3087\u3046\u3002 \u6e29\u5ea6\u306e\u8a08\u6e2c\u3001\u6e29\u5ea6\u306e\u76e3\u8996\u3001LED \u306e\u5236\u5fa1\u3001\u30c7\u30fc\u30bf\u306e\u8a18\u9332\u3092\u305d\u308c\u305e\u308c\u30d7\u30ed\u30bb\u30b9\u306b\u5206\u3051\u3001Fluent Bit \u3092\u4ecb\u3057\u3066\u9023\u643a\u3055\u305b\u307e\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"100\">\u30b5\u30f3\u30d7\u30eb\u306f Linux \u4e0a\u3067\u306e\u5b9f\u884c\u3092\u60f3\u5b9a\u3057\u3066\u304a\u308a\u3001Fluent Bit 5.1.1\u3001Python 3.10 \u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002\u6e29\u5ea6\u30bb\u30f3\u30b5\u3068 GPIO \u306e\u8aad\u307f\u66f8\u304d\u306b\u3064\u3044\u3066\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u3092\u5b9f\u884c\u3057\u3084\u3059\u3044\u3088\u3046\u306b\u6a21\u64ec\u5b9f\u88c5\u3068\u3057\u307e\u3059\u3002<\/p>\n<h2 id=\"\u30b7\u30b9\u30c6\u30e0\u69cb\u6210\" class=\"code-line\" dir=\"auto\" data-line=\"119\">\u30b7\u30b9\u30c6\u30e0\u69cb\u6210<\/h2>\n<p class=\"code-line\" dir=\"auto\" data-line=\"108\">\u5404\u30d7\u30ed\u30bb\u30b9\u306e\u5f79\u5272\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<table class=\"code-line\" dir=\"auto\" data-line=\"110\">\n<thead class=\"code-line\" dir=\"auto\" data-line=\"110\">\n<tr class=\"code-line\" dir=\"auto\" data-line=\"110\">\n<th>\u30d7\u30ed\u30bb\u30b9<\/th>\n<th>\u5f79\u5272<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"code-line\" dir=\"auto\" data-line=\"112\">\n<tr class=\"code-line\" dir=\"auto\" data-line=\"112\">\n<td><code>temp-sensor<\/code><\/td>\n<td>ADC \u304b\u3089\u5024\u30921\u79d2\u3054\u3068\u306b\u8aad\u307f\u53d6\u308a\u3001\u6e29\u5ea6\u30c7\u30fc\u30bf\u3092\u751f\u6210\u3059\u308b<\/td>\n<\/tr>\n<tr class=\"code-line\" dir=\"auto\" data-line=\"113\">\n<td><code>monitor<\/code><\/td>\n<td>\u6e29\u5ea6\u3092\u76e3\u8996\u3057\u3001\u9ad8\u6e29\u8b66\u5831\u72b6\u614b\u3068 LED \u306e\u8a2d\u5b9a\u6307\u793a\u3092\u9001\u4fe1\u3059\u308b<\/td>\n<\/tr>\n<tr class=\"code-line\" dir=\"auto\" data-line=\"114\">\n<td><code>led<\/code><\/td>\n<td>LED \u306e\u8a2d\u5b9a\u6307\u793a\u3092\u53d7\u3051\u3066 GPIO \u51fa\u529b\u3078\u53cd\u6620\u3059\u308b<\/td>\n<\/tr>\n<tr class=\"code-line\" dir=\"auto\" data-line=\"115\">\n<td><code>recorder<\/code><\/td>\n<td>\u6700\u65b0\u306e\u6e29\u5ea6\u3068\u9ad8\u6e29\u8b66\u5831\u72b6\u614b\u309230\u79d2\u3054\u3068\u306b\u4fdd\u5b58\u3059\u308b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-25414 aligncenter\" src=\"https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/fluent-system-architecture-2.png\" alt=\"\" width=\"935\" height=\"750\" srcset=\"https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/fluent-system-architecture-2.png 935w, https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/fluent-system-architecture-2-300x241.png 300w, https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/fluent-system-architecture-2-768x616.png 768w, https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/fluent-system-architecture-2-267x214.png 267w, https:\/\/www.ecomottblog.com\/wp-content\/uploads\/2026\/08\/fluent-system-architecture-2-282x226.png 282w\" sizes=\"(max-width: 935px) 100vw, 935px\" \/><\/p>\n<p>\u5404\u30d7\u30ed\u30bb\u30b9\u306f\u4ed6\u306e\u30d7\u30ed\u30bb\u30b9\u3078\u76f4\u63a5\u30c7\u30fc\u30bf\u3092\u9001\u3089\u305a\u3001Fluent Bit \u3092\u7d4c\u7531\u3057\u3066\u30a4\u30d9\u30f3\u30c8\u3092\u9001\u53d7\u4fe1\u3057\u307e\u3059\u3002 \u4f8b\u3048\u3070\u3001<code>temp-sensor<\/code>&nbsp;\u304c\u9001\u4fe1\u3057\u305f\u6e29\u5ea6\u30a4\u30d9\u30f3\u30c8\u306f\u3001Fluent Bit \u306b\u3088\u3063\u3066&nbsp;<code>monitor<\/code>&nbsp;\u3068&nbsp;<code>recorder<\/code>&nbsp;\u306e\u4e21\u65b9\u3078\u914d\u9001\u3055\u308c\u307e\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"164\">\u30d7\u30ed\u30bb\u30b9\u9593\u3067\u3084\u308a\u53d6\u308a\u3059\u308b\u30a4\u30d9\u30f3\u30c8\u306f\u6b21\u306e\uff13\u3064\u3067\u3059\u3002<\/p>\n<table class=\"code-line\" dir=\"auto\" data-line=\"166\">\n<thead class=\"code-line\" dir=\"auto\" data-line=\"166\">\n<tr class=\"code-line\" dir=\"auto\" data-line=\"166\">\n<th>\u30a4\u30d9\u30f3\u30c8<\/th>\n<th>\u30bf\u30b0<\/th>\n<th>\u30d7\u30ed\u30c7\u30e5\u30fc\u30b5\u30fc<\/th>\n<th>\u914d\u9001\u5148<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"code-line\" dir=\"auto\" data-line=\"168\">\n<tr class=\"code-line\" dir=\"auto\" data-line=\"168\">\n<td>\u6e29\u5ea6\u8a08\u6e2c<\/td>\n<td><code>sensor.temperature<\/code><\/td>\n<td><code>temp-sensor<\/code><\/td>\n<td><code>monitor<\/code>\u3001<code>recorder<\/code><\/td>\n<\/tr>\n<tr class=\"code-line\" dir=\"auto\" data-line=\"169\">\n<td>\u9ad8\u6e29\u8b66\u5831\u72b6\u614b<\/td>\n<td><code>alert.high-temperature<\/code><\/td>\n<td><code>monitor<\/code><\/td>\n<td><code>recorder<\/code><\/td>\n<\/tr>\n<tr class=\"code-line\" dir=\"auto\" data-line=\"170\">\n<td>LED\u8a2d\u5b9a<\/td>\n<td><code>led.set<\/code><\/td>\n<td><code>monitor<\/code><\/td>\n<td><code>led<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"fluent-bit-\u306e\u8a2d\u5b9a\" class=\"code-line\" dir=\"auto\" data-line=\"185\">Fluent Bit \u306e\u8a2d\u5b9a<\/h2>\n<p class=\"code-line\" dir=\"auto\" data-line=\"174\"><code>fluent-bit.yaml<\/code>&nbsp;\u3092\u6b21\u306e\u3088\u3046\u306b\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:yaml decode:true\">service:\n  flush: 1\n  log_level: info\n\npipeline:\n  inputs:\n    - name: forward\n      listen: 127.0.0.1\n      port: 24224\n\n  outputs:\n    # sensor.temperature -&gt; monitor, recorder\n    - name: udp\n      match: sensor.temperature\n      host: 127.0.0.1\n      port: 26001\n      format: json_lines\n\n    - name: udp\n      match: sensor.temperature\n      host: 127.0.0.1\n      port: 26003\n      format: json_lines\n\n    # led.set -&gt; led\n    - name: udp\n      match: led.set\n      host: 127.0.0.1\n      port: 26002\n      format: json_lines\n\n    # alert.high-temperature -&gt; recorder\n    - name: udp\n      match: alert.high-temperature\n      host: 127.0.0.1\n      port: 26003\n      format: json_lines\n\n    # \u5168\u30a4\u30d9\u30f3\u30c8\u3092\u30d5\u30a1\u30a4\u30eb\u3078\u4fdd\u5b58\n    - name: file\n      match: '*'\n      path: \/tmp\n      file: fluent-debug.log\n      format: out_file<\/pre>\n<p class=\"isSelectedEnd\">Inputs \u306e Forward Input \u306f\u3001<code>127.0.0.1:24224<\/code> \u3067\u30a4\u30d9\u30f3\u30c8\u3092\u53d7\u4fe1\u3057\u307e\u3059\u3002<code>listen<\/code> \u306e\u65e2\u5b9a\u5024\u306f <code>0.0.0.0<\/code> \u306a\u306e\u3067\u3001\u5225\u306e\u30db\u30b9\u30c8\u304b\u3089\u63a5\u7d9a\u3055\u308c\u306a\u3044\u3088\u3046\u3001\u30eb\u30fc\u30d7\u30d0\u30c3\u30af\u30a2\u30c9\u30ec\u30b9\u3092\u660e\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Outputs \u3067\u306f\u3001\u30bf\u30b0\u306b\u5fdc\u3058\u3066\u5404 Output \u3078\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3057\u3001UDP Output \u304b\u3089\u30ec\u30b3\u30fc\u30c9\u3092 JSON Lines \u5f62\u5f0f\u3067\u5404\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc\u3078\u9001\u4fe1\u3057\u307e\u3059\u3002<code>sensor.temperature<\/code> \u306f <code>monitor<\/code> \u3068 <code>recorder<\/code> \u3078\u3001<code>led.set<\/code> \u306f <code>led<\/code> \u3078\u3001<code>alert.high-temperature<\/code> \u306f <code>recorder<\/code> \u3078\u914d\u9001\u3057\u307e\u3059\u3002\u6700\u5f8c\u306e File Output \u3067\u306f\u3001\u30c7\u30d0\u30c3\u30b0\u7528\u306b\u3059\u3079\u3066\u306e\u30a4\u30d9\u30f3\u30c8\u3092 <code>\/tmp\/fluent-debug.log<\/code> \u3078\u8a18\u9332\u3057\u307e\u3059\u3002<\/p>\n<p class=\"code-line\" dir=\"auto\" data-line=\"229\">\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u691c\u8a3c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:sh decode:true\">$ fluent-bit --dry-run -c fluent-bit.yaml<\/pre>\n<h2 id=\"forward-protocol-\u306b\u3088\u308b\u30a4\u30d9\u30f3\u30c8\u9001\u4fe1\" class=\"code-line\" dir=\"auto\" data-line=\"248\">Forward Protocol \u306b\u3088\u308b\u30a4\u30d9\u30f3\u30c8\u9001\u4fe1<\/h2>\n<p class=\"code-line\" dir=\"auto\" data-line=\"237\">\u30d7\u30ed\u30c7\u30e5\u30fc\u30b5\u30fc\u304b\u3089 Fluent Bit \u3078\u306e\u30a4\u30d9\u30f3\u30c8\u9001\u4fe1\u306b\u306f\u3001Python \u306e <code><a href=\"https:\/\/github.com\/fluent\/fluent-logger-python\">fluent-logger<\/a><\/code> \u3092\u4f7f\u3044\u307e\u3059\u3002\u307e\u305a\u3001<code>fluent-logger<\/code> \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:sh decode:true\">$ python3 -m venv .venv\n$ . .venv\/bin\/activate\n$ python -m pip install fluent-logger<\/pre>\n<p class=\"code-line\" dir=\"auto\" data-line=\"239\">Fluent Bit \u306e Forward Input \u304c\u53d7\u3051\u53d6\u308b\u30c7\u30fc\u30bf\u306f\u3001<a href=\"https:\/\/github.com\/fluent\/fluentd\/wiki\/Forward-Protocol-Specification-v1.5\" data-href=\"https:\/\/github.com\/fluent\/fluentd\/wiki\/Forward-Protocol-Specification-v1.5\">Forward Protocol<\/a> \u306b\u5f93\u3063\u305f MessagePack \u3067\u3059\u3002<code>FluentSender.emit()<\/code> \u3067\u9001\u4fe1\u3059\u308b\u30a4\u30d9\u30f3\u30c8\u306f\u3001<a href=\"https:\/\/github.com\/fluent\/fluentd\/wiki\/Forward-Protocol-Specification-v1.5#message-modes\">Message mode<\/a>&nbsp;\u306b\u5f93\u3063\u305f\u6b21\u306e\u5f62\u5f0f\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:yaml decode:true\">[tag, time, record]<\/pre>\n<p class=\"code-line\" dir=\"auto\" data-line=\"245\">\u4f8b\u3048\u3070\u3001<code>FluentSender(\"sensor\")<\/code>&nbsp;\u306b\u5bfe\u3057\u3066&nbsp;<code>emit(\"temperature\", record)<\/code>&nbsp;\u3092\u547c\u3076\u3068\u3001\u30bf\u30b0\u306f&nbsp;<code>sensor.temperature<\/code>&nbsp;\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:yaml decode:true\">[\n  \"sensor.temperature\",\n  time,\n  {\n    \"event\": \"sensor.temperature\",\n    \"celsius\": 30.4\n  }\n]<\/pre>\n<div class=\"text-base my-auto mx-auto pt-12 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm\/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg\/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)\">\n<div class=\"[--thread-content-max-width:40rem] @w-lg\/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group\/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col\" data-conversation-screenshot-content=\"\">\n<div class=\"flex max-w-full flex-col gap-4 grow\">\n<div class=\"min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&amp;]:mt-1\" dir=\"auto\" data-message-author-role=\"user\" data-message-id=\"45454241-25d8-4f63-9ac6-107d4da9713d\">\n<div class=\"flex w-full flex-col gap-1 empty:hidden items-end rtl:items-start\">\n<div class=\"contents max-w-(--user-chat-width,70%)\">\n<div class=\"corner-superellipse\/0.98 relative min-w-0 overflow-hidden rounded-[22px] px-4 py-2.5 leading-6 user-message-bubble-color max-w-(--user-chat-width,70%)\">\n<div class=\"markdown prose dark:prose-invert wrap-break-word dark markdown-new-styling fbskMG_root _0QcAJW_root\">\n<h2>UDP \u306b\u3088\u308b\u30a4\u30d9\u30f3\u30c8\u53d7\u4fe1<\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>Fluent Bit \u304b\u3089\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc\u3078\u306e\u9001\u4fe1\u306b\u306f\u3001<a href=\"https:\/\/docs.fluentbit.io\/manual\/data-pipeline\/outputs\/udp\">UDP Output<\/a> \u306e <code>json_lines<\/code> \u5f62\u5f0f\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc\u5074\u3067\u306f JSON \u30ec\u30b3\u30fc\u30c9\u30921\u4ef6\u305a\u3064\u7c21\u5358\u306b\u53d7\u4fe1\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u53d7\u4fe1\u51e6\u7406\u306f <code>json_lines_server.py<\/code> \u306b\u307e\u3068\u3081\u307e\u3059\u3002\u53d7\u4fe1\u3057\u305f\u30c7\u30fc\u30bf\u3092\u884c\u3054\u3068\u306b JSON \u3068\u3057\u3066\u8aad\u307f\u8fbc\u3080\u3060\u3051\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u51e6\u7406\u3067\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true\">import json\nimport logging\nimport socket\n\n\ndef receive(port):\n    with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as server:\n        server.bind((\"127.0.0.1\", port))\n        logging.info(\"listening on UDP 127.0.0.1:%d\", port)\n\n        while True:\n            packet, _ = server.recvfrom(65535)\n            for line in packet.splitlines():\n                yield json.loads(line)<\/pre>\n<h2 id=\"\u5404\u30d7\u30ed\u30bb\u30b9\u3092\u5b9f\u88c5\u3059\u308b\" class=\"code-line\" dir=\"auto\" data-line=\"308\">\u5404\u30d7\u30ed\u30bb\u30b9\u3092\u5b9f\u88c5\u3059\u308b<\/h2>\n<p class=\"code-line\" dir=\"auto\" data-line=\"297\">\u305d\u308c\u3067\u306f\u3001<code>temp-sensor<\/code>\u3001<code>monitor<\/code>\u3001<code>led<\/code>\u3001<code>recorder<\/code> \u306e\u5404\u30d7\u30ed\u30bb\u30b9\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h3 id=\"\u6e29\u5ea6\u8a08\u6e2c\u30d7\u30ed\u30bb\u30b9temp-sensor\" class=\"code-line\" dir=\"auto\" data-line=\"312\">\u6e29\u5ea6\u8a08\u6e2c\u30d7\u30ed\u30bb\u30b9\uff08<code>temp-sensor<\/code>\uff09<\/h3>\n<p class=\"code-line\" dir=\"auto\" data-line=\"301\">\u307e\u305a\u3001<code>temp_sensor.py<\/code>&nbsp;\u3067\u6a21\u64ec\u6e29\u5ea6\u30921\u79d2\u3054\u3068\u306b\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001\u5b9f\u969b\u306e\u6e29\u5ea6\u30bb\u30f3\u30b5\u30fc\u304b\u3089\u306e ADC \u5165\u529b\u3092 <code>SAMPLES<\/code> \u3067\u6a21\u64ec\u3057\u3066\u3044\u307e\u3059\u3002\u5b9f\u6a5f\u3067\u306f\u3001IIO \u306a\u3069\u3092\u4f7f\u3063\u3066 ADC \u306e\u5024\u3092\u8aad\u307f\u53d6\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true\">import logging\nimport time\nfrom itertools import cycle\n\nfrom fluent import sender\n\n# ADC \u304b\u3089\u306e\u5165\u529b\u3092\u6a21\u64ec\u3059\u308b\nSAMPLES = (27.8, 29.2, 30.4, 31.1, 28.9, 29.7, 30.2)\n\nlogging.basicConfig(\n    format=\"%(asctime)s.%(msecs)03d [temp-sensor] %(message)s\",\n    datefmt=\"%Y-%m-%d %H:%M:%S\",\n    level=logging.INFO,\n)\n\n\ndef main():\n    with sender.FluentSender(\"sensor\", host=\"127.0.0.1\") as publisher:\n        for celsius in cycle(SAMPLES):\n            event = {\n                \"event\": \"sensor.temperature\",\n                \"celsius\": celsius,\n            }\n            if not publisher.emit(\"temperature\", event):\n                raise ConnectionError(publisher.last_error)\n\n            logging.info(\"%.1f C\", celsius)\n            time.sleep(1)\n\n\nif __name__ == \"__main__\":\n    main()<\/pre>\n<h3 id=\"\u72b6\u614b\u76e3\u8996\u30d7\u30ed\u30bb\u30b9monitor\" class=\"code-line\" dir=\"auto\" data-line=\"351\">\u72b6\u614b\u76e3\u8996\u30d7\u30ed\u30bb\u30b9\uff08<code>monitor<\/code>\uff09<\/h3>\n<p><code>monitor.py<\/code> \u306f\u6e29\u5ea6\u304c30 \u2103\u4ee5\u4e0a\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u3001\u9ad8\u6e29\u8b66\u5831\u72b6\u614b\u304c\u5909\u308f\u3063\u305f\u3068\u304d\u3060\u3051 <code>alert.high-temperature<\/code> \u3068 <code>led.set<\/code> \u3092\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true\">import logging\n\nfrom fluent import sender\n\nfrom json_lines_server import receive\n\nTHRESHOLD = 30.0\n\nlogging.basicConfig(\n    format=\"%(asctime)s.%(msecs)03d [monitor] %(message)s\",\n    datefmt=\"%Y-%m-%d %H:%M:%S\",\n    level=logging.INFO,\n)\n\n\ndef emit(publisher, label, event):\n    if not publisher.emit(label, event):\n        raise ConnectionError(publisher.last_error)\n\n\ndef main():\n    last_active = None\n\n    with (\n        sender.FluentSender(\"alert\", host=\"127.0.0.1\") as alert_sender,\n        sender.FluentSender(\"led\", host=\"127.0.0.1\") as led_sender,\n    ):\n        for event in receive(26001):\n            active = event[\"celsius\"] &gt;= THRESHOLD\n            if active == last_active:\n                continue\n\n            emit(alert_sender, \"high-temperature\", {\n                \"event\": \"alert.high-temperature\",\n                \"active\": active,\n            })\n            emit(led_sender, \"set\", {\n                \"event\": \"led.set\",\n                \"on\": active,\n            })\n            last_active = active\n            logging.info(\"alert=%s\", active)\n\n\nif __name__ == \"__main__\":\n    main()<\/pre>\n<h3 id=\"led-\u8a2d\u5b9a\u30d7\u30ed\u30bb\u30b9led\" class=\"code-line\" dir=\"auto\" data-line=\"412\">LED \u8a2d\u5b9a\u30d7\u30ed\u30bb\u30b9\uff08<code>led<\/code>\uff09<\/h3>\n<p class=\"code-line\" dir=\"auto\" data-line=\"401\"><code>led.py<\/code>&nbsp;\u306f&nbsp;<code>led.set<\/code>&nbsp;\u3092\u53d7\u4fe1\u3057\u3001\u72b6\u614b\u304c\u5909\u308f\u3063\u305f\u3068\u304d\u3060\u3051 LED \u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/p>\n<p dir=\"auto\" data-line=\"401\">\u306a\u304a\u3001\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001\u5b9f\u969b\u306e LED \u3092\u5236\u5fa1\u3059\u308b GPIO \u64cd\u4f5c\u3092\u30ed\u30b0\u51fa\u529b\u3067\u4ee3\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u5b9f\u6a5f\u3067\u306f\u3001libgpiod \u306a\u3069\u3067 GPIO \u3092\u64cd\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true\">import logging\n\nfrom json_lines_server import receive\n\nlogging.basicConfig(\n    format=\"%(asctime)s.%(msecs)03d [led] %(message)s\",\n    datefmt=\"%Y-%m-%d %H:%M:%S\",\n    level=logging.INFO,\n)\n\n\ndef main():\n    last_state = None\n\n    for event in receive(26002):\n        state = event[\"on\"]\n        if state != last_state:\n            # GPIO \u3078\u306e\u51fa\u529b\u3092\u6a21\u64ec\u3059\u308b\n            logging.info(\"%s\", \"ON\" if state else \"OFF\")\n            last_state = state\n\n\nif __name__ == \"__main__\":\n    main()<\/pre>\n<h3 id=\"\u8a18\u9332\u30d7\u30ed\u30bb\u30b9recorder\" class=\"code-line\" dir=\"auto\" data-line=\"445\">\u8a18\u9332\u30d7\u30ed\u30bb\u30b9\uff08<code>recorder<\/code>\uff09<\/h3>\n<p>\u6700\u5f8c\u306b\u3001<code>recorder.py<\/code> \u3067\u6700\u65b0\u306e\u6e29\u5ea6\u3068\u9ad8\u6e29\u8b66\u5831\u72b6\u614b\u3092\u307e\u3068\u3081\u300130\u79d2\u3054\u3068\u306b <code>\/tmp\/record-data.jsonl<\/code> \u3078\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30a4\u30d9\u30f3\u30c8\u8b58\u5225\u7528\u306e <code>event<\/code> \u306f\u72b6\u614b\u306e\u66f4\u65b0\u306b\u3060\u3051\u4f7f\u3044\u3001\u4fdd\u5b58\u3059\u308b\u30ec\u30b3\u30fc\u30c9\u304b\u3089\u306f\u9664\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true\">import json\nimport logging\nimport time\nfrom datetime import datetime\n\nfrom json_lines_server import receive\n\nOUTPUT = \"\/tmp\/record-data.jsonl\"\nRECORD_INTERVAL = 30\n\nlogging.basicConfig(\n    format=\"%(asctime)s.%(msecs)03d [recorder] %(message)s\",\n    datefmt=\"%Y-%m-%d %H:%M:%S\",\n    level=logging.INFO,\n)\n\n\ndef main():\n    temperature = None\n    high_temperature = None\n    next_record_at = None\n\n    with open(OUTPUT, \"a\", encoding=\"utf-8\", buffering=1) as stream:\n        for event in receive(26003):\n            if event[\"event\"] == \"sensor.temperature\":\n                temperature = event[\"celsius\"]\n            elif event[\"event\"] == \"alert.high-temperature\":\n                high_temperature = event[\"active\"]\n\n            if temperature is None or high_temperature is None:\n                continue\n\n            now = time.monotonic()\n            if next_record_at is None:\n                next_record_at = now + RECORD_INTERVAL\n                continue\n            if now &lt; next_record_at:\n                continue\n            next_record_at = now + RECORD_INTERVAL\n\n            record = {\n                \"time\": datetime.now().astimezone().isoformat(timespec=\"milliseconds\"),\n                \"temperature\": temperature,\n                \"high_temperature\": high_temperature,\n            }\n            print(json.dumps(record), file=stream)\n\n\nif __name__ == \"__main__\":\n    main()<\/pre>\n<h2 id=\"\u52d5\u4f5c\u78ba\u8a8d\" class=\"code-line\" dir=\"auto\" data-line=\"506\">\u52d5\u4f5c\u78ba\u8a8d<\/h2>\n<p class=\"code-line\" dir=\"auto\" data-line=\"495\">Fluent Bit \u3068\u5404\u30d7\u30ed\u30bb\u30b9\u3092\u3001\u5225\u3005\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:sh decode:true\">$ fluent-bit -c fluent-bit.yaml\n$ python monitor.py\n$ python led.py\n$ python recorder.py\n$ python temp_sensor.py<\/pre>\n<p class=\"isSelectedEnd\">\u305d\u308c\u3067\u306f\u3001<code>temp-sensor<\/code>\u3001<code>monitor<\/code>\u3001<code>led<\/code> \u306a\u3069\u306e\u30ed\u30b0\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><code>temp-sensor<\/code> \u3067\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u6e29\u5ea6\u30921\u79d2\u3054\u3068\u306b\u9001\u4fe1\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">2026-08-28 10:15:20.214 [temp-sensor] 27.8 C\n2026-08-28 10:15:21.215 [temp-sensor] 29.2 C\n2026-08-28 10:15:22.216 [temp-sensor] 30.4 C\n2026-08-28 10:15:23.217 [temp-sensor] 31.1 C\n2026-08-28 10:15:24.218 [temp-sensor] 28.9 C<\/pre>\n<p class=\"code-line\" dir=\"auto\" data-line=\"517\"><code>monitor<\/code> \u3067\u306f\u3001\u6e29\u5ea6\u306b\u5fdc\u3058\u3066\u9ad8\u6e29\u8b66\u5831\u72b6\u614b\u304c\u5207\u308a\u66ff\u308f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">2026-08-28 10:15:19.802 [monitor] listening on UDP 127.0.0.1:26001\n2026-08-28 10:15:21.005 [monitor] alert=False\n2026-08-28 10:15:23.004 [monitor] alert=True\n2026-08-28 10:15:25.004 [monitor] alert=False\n2026-08-28 10:15:28.004 [monitor] alert=True<\/pre>\n<p class=\"code-line\" dir=\"auto\" data-line=\"527\"><code>led<\/code> \u3067\u306f\u3001\u9ad8\u6e29\u8b66\u5831\u72b6\u614b\u306b\u5fdc\u3058\u305f ON\/OFF \u6307\u793a\u3092\u53d7\u3051\u3001LED \u72b6\u614b\u304c\u5207\u308a\u66ff\u308f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">2026-08-28 10:15:19.810 [led] listening on UDP 127.0.0.1:26002\n2026-08-28 10:15:22.005 [led] OFF\n2026-08-28 10:15:24.005 [led] ON\n2026-08-28 10:15:26.005 [led] OFF\n2026-08-28 10:15:29.005 [led] ON<\/pre>\n<p class=\"code-line\" dir=\"auto\" data-line=\"551\"><code>recorder<\/code> \u306e\u30c7\u30fc\u30bf\u8a18\u9332\u5185\u5bb9\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u300230\u79d2\u5468\u671f\u3067\u30c7\u30fc\u30bf\u8a18\u9332\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">$ tail -f \/tmp\/record-data.jsonl\n{\"time\": \"2026-08-28T10:16:00.004+09:00\", \"temperature\": 28.9, \"high_temperature\": false}\n{\"time\": \"2026-08-28T10:16:30.011+09:00\", \"temperature\": 30.2, \"high_temperature\": true}\n{\"time\": \"2026-08-28T10:17:00.018+09:00\", \"temperature\": 29.2, \"high_temperature\": false}\n{\"time\": \"2026-08-28T10:17:30.025+09:00\", \"temperature\": 31.1, \"high_temperature\": true}\n{\"time\": \"2026-08-28T10:18:00.032+09:00\", \"temperature\": 29.7, \"high_temperature\": false}<\/pre>\n<p class=\"code-line\" dir=\"auto\" data-line=\"537\">\u52d5\u4f5c\u78ba\u8a8d\u4e2d\u306b\u767a\u751f\u3057\u305f\u5168\u3066\u306e\u30a4\u30d9\u30f3\u30c8\u306f\u3001\u30c7\u30d0\u30c3\u30b0\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">$ tail -f \/tmp\/fluent-debug.log\nsensor.temperature: [1787912122.000000000, {\"event\":\"sensor.temperature\",\"celsius\":30.4}]\nalert.high-temperature: [1787912123.000000000, {\"event\":\"alert.high-temperature\",\"active\":true}]\nled.set: [1787912123.000000000, {\"event\":\"led.set\",\"on\":true}]\nsensor.temperature: [1787912123.000000000, {\"event\":\"sensor.temperature\",\"celsius\":31.1}]\nsensor.temperature: [1787912124.000000000, {\"event\":\"sensor.temperature\",\"celsius\":28.9}]<\/pre>\n<p class=\"code-line\" dir=\"auto\" data-line=\"567\">\u3053\u306e\u3088\u3046\u306b\u3001\u5404\u30d7\u30ed\u30bb\u30b9\u306b\u8cac\u52d9\u3092\u5206\u3051\u3001Fluent Bit \u3092\u5229\u7528\u3057\u3066\u7c21\u5358\u306a\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<h1>\u307e\u3068\u3081<\/h1>\n<p>\u4eca\u56de\u306f\u3001\u7d44\u8fbc\u307f Linux \u306a\u3069\u306e\u6c4e\u7528 OS \u4e0a\u3067\u6a5f\u80fd\u3092\u8907\u6570\u306e\u30d7\u30ed\u30bb\u30b9\u306b\u5206\u3051\u3001\u30a4\u30d9\u30f3\u30c8\u3067\u9023\u643a\u3055\u305b\u308b\u69cb\u6210\u3092\u4f5c\u308a\u307e\u3057\u305f\u3002\u8907\u6570\u30d7\u30ed\u30bb\u30b9\u306b\u5206\u3051\u308b\u3053\u3068\u3067\u8cac\u52d9\u3092\u5206\u3051\u3084\u3059\u304f\u306a\u308b\u4e00\u65b9\u3001\u30d7\u30ed\u30bb\u30b9\u9593\u306e\u9023\u643a\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3082\u8a2d\u8a08\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u306f Fluent Bit \u3092\u30a4\u30d9\u30f3\u30c8\u30eb\u30fc\u30bf\u30fc\u3068\u3057\u3066\u5229\u7528\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u30a4\u30d9\u30f3\u30c8\u306e\u914d\u9001\u7d4c\u8def\u3092\u5404\u30d7\u30ed\u30bb\u30b9\u304b\u3089\u5207\u308a\u96e2\u3057\u3066 Fluent Bit \u306e\u8a2d\u5b9a\u306b\u307e\u3068\u3081\u308b\u3053\u3068\u3067\u3001\u5404\u30d7\u30ed\u30bb\u30b9\u306f\u81ea\u8eab\u306e\u51e6\u7406\u306b\u96c6\u4e2d\u3067\u304d\u308b\u69cb\u6210\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u306e UDP \u306b\u3088\u308b\u914d\u9001\u306f\u30d9\u30b9\u30c8\u30a8\u30d5\u30a9\u30fc\u30c8\u3067\u3059\u304c\u3001<a href=\"https:\/\/docs.fluentbit.io\/manual\/data-pipeline\/outputs\/tcp-and-tls\">TCP Output<\/a>&nbsp;\u3084&nbsp;<a href=\"https:\/\/docs.fluentbit.io\/manual\/data-pipeline\/outputs\/forward\">Forward Output<\/a>\u3001<a href=\"https:\/\/docs.fluentbit.io\/manual\/data-pipeline\/buffering\">\u6c38\u7d9a\u30d0\u30c3\u30d5\u30a1\u30ea\u30f3\u30b0<\/a>\u306a\u3069\u3092\u5229\u7528\u3057\u3066\u3001\u914d\u9001\u306e\u4fe1\u983c\u6027\u3092\u9ad8\u3081\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306f\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc\u3067\u306e\u51e6\u7406\u5b8c\u4e86\u307e\u3067\u4fdd\u8a3c\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3088\u308a\u9ad8\u5ea6\u306a\u914d\u9001\u4fdd\u8a3c\u3084\u52d5\u7684\u306a\u8cfc\u8aad\u3001\u30a4\u30d9\u30f3\u30c8\u306e\u4fdd\u5b58\u30fb\u518d\u751f\u306a\u3069\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001MQTT \u3084 NATS \u306a\u3069\u3082\u542b\u3081\u3001\u8981\u4ef6\u306b\u5408\u3063\u305f\u4ed5\u7d44\u307f\u3092\u9078\u3076\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002\u30c7\u30d0\u30a4\u30b9\u30bd\u30d5\u30c8\u30a6\u30a8\u30a2\u958b\u767a\u90e8\u306e\u672c\u9593\u3067\u3059\u3002 \u5f0a\u793e\u3067\u306f\u3001\u69d8\u3005\u306a IoT \u6a5f\u5668\u3092\u958b\u767a\u30fb\u8ca9\u58f2\u3057\u3066\u304a\u308a\u307e\u3059\u3002 \u79c1\u3082\u3053\u308c\u307e\u3067\u3001\u3044\u304f\u3064\u304b\u306e IoT \u6a5f\u5668\u306e\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u958b\u767a\u306b\u643a\u308f\u3063\u3066\u304d\u307e\u3057\u305f\u3002 IoT \u6a5f\u5668\u306b\u6c42\u3081\u3089\u308c\u308b\u6a5f\u80fd\u306f [&hellip;]<\/p>\n","protected":false},"author":97,"featured_media":24961,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[498,25,31,428],"_links":{"self":[{"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/24954"}],"collection":[{"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/users\/97"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24954"}],"version-history":[{"count":11,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/24954\/revisions"}],"predecessor-version":[{"id":25430,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/24954\/revisions\/25430"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/media\/24961"}],"wp:attachment":[{"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}