Advertisement
Guest User

logstash

a guest
May 29th, 2016
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. input {
  2. http {
  3. port => 9090
  4. }
  5. }
  6. filter {
  7. json {
  8. source => "message"
  9. }
  10. }
  11.  
  12. output {
  13. elasticsearch {
  14. hosts => ["localhost:9200"]
  15. index => "logs-%{+YYYY-MM-dd}"
  16. document_type => "match"
  17. }
  18. stdout {
  19. codec => rubydebug
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement