Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # IoT Meetup. Logstash Example
- input {
- redis {
- host => "127.0.0.1"
- data_type => "channel"
- db => 1
- key => "iot"
- type => "sensor"
- codec => json
- }
- }
- #filter {
- # date {
- # match => [ "timestamp", "yyyy-mm-dd HH:mm:ss" ]
- # timezone => "Europe/Bratislava"
- # }
- #}
- output {
- elasticsearch { hosts => localhost index => "iot" }
- stdout { codec => rubydebug }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement