Advertisement
Guest User

Untitled

a guest
Sep 5th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. input {
  2. beats {
  3. port => "5044"
  4. host => "0.0.0.0"
  5. }
  6. rabbitmq {
  7. host => "localhost"
  8. port => 5672
  9. user => "yyyyyyy"
  10. password => "xxxxxxx"
  11. vhost => "lala"
  12. queue => "lolCalls"
  13. add_field => {
  14. "[@metadata][beat]" => "lolCalls"
  15. "[@metadata][type]" => "event"
  16. }
  17. }
  18. }
  19. output {
  20. elasticsearch {
  21. hosts => localhost
  22. manage_template => false
  23. index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
  24. document_type => "%{[@metadata][type]}"
  25. }
  26. #stdout { codec => rubydebug { metadata => true } }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement