README.md in fluent-plugin-sakuraio-0.0.7 vs README.md in fluent-plugin-sakuraio-0.1.0
- old
+ new
@@ -35,9 +35,20 @@
* `connection` type messages: `{"module":{module},"is_online":{is_online}}`
* `location` type messages: `{"module":{module},"latitude":{latitude},"longitude":"{longitude}","range_m":{range_m}}`
The details of sakura.io message spec: https://sakura.io/docs/pages/platform-specification/message.html
+## Output Configuration
+
+```
+<match **>
+ @type sakuraio
+ url wss://api.sakura.io/ws/v1/xxxxxxxxxxxxxxxxxxxxxxx
+ modules ["uXXXXXXXXXXX"] # array of modules
+ channels {"0": ["key", "i"]} # hash of channels {"channel number": ["key in record", "data type"]}
+</match>
+```
+
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).