fluent-plugin-mqtt-io 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/fluent-plugin-mqtt-io.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a44345e5a1d555cccb9052cb5026a1d1c74ba99
|
|
4
|
+
data.tar.gz: 38f42494ed8fedaf6f183eb0ec424a19b1e5490f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69ae3c6e96f603776b577e139f4375acee20273bb885526def569e50e57977339ba0af0f145fd3dbdd2a9bbfea192dc673f80884468e71cc394041050fb32424
|
|
7
|
+
data.tar.gz: 2029b0f4d5cd40210d598ab5131367367c5478fe6a77537fb27357728ec0735b16f89353b7b077766211a615ef98c3608ce4b0ba7017795504d5a68cbfc2818d
|
data/README.md
CHANGED
|
@@ -34,6 +34,7 @@ Input Plugin can be used via source directive in the configuration.
|
|
|
34
34
|
type mqtt
|
|
35
35
|
bind 127.0.0.1
|
|
36
36
|
port 1883
|
|
37
|
+
format json
|
|
37
38
|
</source>
|
|
38
39
|
|
|
39
40
|
```
|
|
@@ -42,6 +43,9 @@ The default MQTT topic is "#". Configurable options are the following:
|
|
|
42
43
|
|
|
43
44
|
- bind: IP address of MQTT broker
|
|
44
45
|
- port: Port number of MQTT broker
|
|
46
|
+
- format (mandatory): Input parser can be chosen, e.g. json, xml
|
|
47
|
+
- in order to use xml format, you need to install [fluent-plugin-xml-parser](https://github.com/toyokazu/fluent-plugin-xml-parser).
|
|
48
|
+
- default time_key field for json format is 'time'
|
|
45
49
|
- topic: Topic name to be subscribed
|
|
46
50
|
- username: User name for authentication
|
|
47
51
|
- password: Password for authentication
|
|
@@ -49,9 +53,6 @@ The default MQTT topic is "#". Configurable options are the following:
|
|
|
49
53
|
- ca_file: CA certificate file path
|
|
50
54
|
- key_file: private key file path
|
|
51
55
|
- cert_file: certificate file path
|
|
52
|
-
- format: Input parser can be chosen, e.g. json, xml
|
|
53
|
-
- in order to use xml format, you need to install [fluent-plugin-xml-parser](https://github.com/toyokazu/fluent-plugin-xml-parser).
|
|
54
|
-
- default format is json and default time_key for json format is 'time'
|
|
55
56
|
|
|
56
57
|
Input Plugin supports @label directive.
|
|
57
58
|
|