Advertisement
Guest User

Untitled

a guest
Jan 13th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. input {
  2.  
  3. file {
  4. type => "logs"
  5. path => "/app-logs/**/*.log"
  6. codec => json
  7. }
  8.  
  9. }
  10.  
  11. filter {
  12. mutate {
  13. add_field => { "app_id" => "ks8"}
  14. }
  15. }
  16.  
  17.  
  18. output {
  19. rabbitmq {
  20. host => "log.int-onemall.com"
  21. exchange => ks8
  22. key => ks8
  23. exchange_type => fanout
  24. durable => false
  25. user => "wondermall"
  26. password => "sabizore"
  27. }
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement