Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. /etc/logstash/conf.d/logstash.conf
  2.  
  3. input {
  4. beats {
  5. port => 5044
  6. }
  7.  
  8.  
  9. }
  10.  
  11. output {
  12. elasticsearch {
  13. hosts => "localhost:9200"
  14. manage_template => false
  15. index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
  16. document_type => "%{[@metadata][type]}"
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement