Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input {
- tcp {
- port => 5000
- type => tcp
- }
- }
- filter {
- grok {
- match => { "message" => "%{WORD:miner} %{WORD:status} %{NUMBER:power_load} %{NUMBER:batt_capcity} %{NUMBER:utility_voltage} %{NUMBER:output_voltage} %{NUMBER:remain_runtime} %{WORD:application}" }
- }
- }
- output {
- elasticsearch {
- hosts => ["10.173.201.60:9200"]
- index => "miner_ups_health"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment