Sha256: a9aff5934bfb0b64a21ec865ddd1d573a04fc76a4ba6881d2a0fbf0d5faff81c
Contents?: true
Size: 1.51 KB
Versions: 4
Compression:
Stored size: 1.51 KB
Contents
# fluent-plugin-festival tutorial ## Install fluentd ``` gem install fluent-plugin-festival ``` fluentd 0.14.x will be installed automatically. ## Create a sample configuration file Create a sample configuration file as follows. You need to change festival_portal_login_name and festival_portal_password to your account information. ``` % vi fluent.conf --- <source> @type festival tag test1 email festival_portal_registered_email_address password festival_portal_password polling_interval 30 <resource> path /aggregators/IOT-0/testbeds/jose/resources/hyogo001_barometer-info-value/current_data </resource> <resource> path /aggregators/IOT-0/testbeds/jose/resources/kyoto001_barometer-info-value/current_data </resource> </source> <source> @type festival tag test2 email festival_portal_registered_email_address password festival_portal_password polling_interval 180 <resource> path /aggregators/IOT-0/testbeds/smartsantander/resources/smartsantander_u7jcfa_f3176-chemicalAgentAtmosphericConcentration:airParticles-sensor/current_data </resource> </source> <match *> @type stdout </match> --- ``` You sould not include "current_data" in the resource path. ## Start fluentd with debug mode Start fluentd with debug mode as follows. ``` fluentd -c fluent.conf -vvv ``` Then, you can confirm the sensor values are output to your console. You can try the other resources by browsing resources via FESTIVAL portal and change target resource URI to the ones listed in the resource information.
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-festival-0.0.7 | docs/tutorial.md |
fluent-plugin-festival-0.0.6 | docs/tutorial.md |
fluent-plugin-festival-0.0.5 | docs/tutorial.md |
fluent-plugin-festival-0.0.4 | docs/tutorial.md |