Guest User

ups_tcp

a guest
Apr 28th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. input {
  2. tcp {
  3. port => 5000
  4. type => tcp
  5. }
  6. }
  7.  
  8. filter {
  9. grok {
  10. match => { "message" => "%{WORD:miner} %{WORD:status} %{NUMBER:power_load} %{NUMBER:batt_capcity} %{NUMBER:utility_voltage} %{NUMBER:output_voltage} %{NUMBER:remain_runtime} %{WORD:application}" }
  11. }
  12. }
  13.  
  14. output {
  15. elasticsearch {
  16. hosts => ["10.173.201.60:9200"]
  17. index => "miner_ups_health"
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment