LoginSignup
1
1

More than 5 years have passed since last update.

rasberry pi 3 で温度センサー&Treasure Data格納まで

Posted at

この(http://qiita.com/daicham/items/0daa0efa8479e9502baa
)サイトをもとに、raspi3で温度センサーをtreasure Dataまで格納した。
とても丁寧で、わかりやすくこの通りでよかったです。

ただ、最後のfluent.confの作り方がわからなくて、
下記のサイト(http://qiita.com/shuntaro_tamura/items/e897cdc8a155cfcf9da7

)の、4行を実施。※意味は上記サイトを参照。

gem install fluentd --no-ri --no-rdoc
fluentd --setup ./fluent
fluentd -c ./fluent/fluent.conf -vv &
echo '{"json":"message"}' | fluent-cat debug.test
```<img width="523" alt="treasure.PNG" src="https://qiita-image-store.s3.amazonaws.com/0/160387/b6e58220-9470-066c-798c-ceb7d8eae988.png">

====================================================

後は、

fluentd -c ./fluent/fluent.conf -vv &の実行を、
sudo fluentd -c ./fluent/fluent.conf -vv &にすれば、
```
treasure Data上に、データが送られます。
treasure.PNG

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1