Guest User

Untitled

a guest
Oct 18th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. REDIS conf (changes from the defaults):
  2. daemonize yes
  3. logfile /path/to/log/redis.log
  4. #save 900 1
  5. #save 300 10
  6. #save 60 10000
  7. maxmemory 2g
  8. maxmemory-policy allkeys-lru
  9. appendfsync no
  10.  
  11. logstash.conf:
  12. output {
  13. redis {
  14. host => "centralized-logstash.example.com"
  15. data_type => [ "list" ]
  16. key => "logstash"
  17. }
  18. }
  19.  
  20. logstash-collector.conf:
  21. input {
  22. redis {
  23. host => "centralized-logstash.example.com"
  24. data_type => [ "list" ]
  25. key => "logstash"
  26. type => "all"
  27. }
  28. }
Add Comment
Please, Sign In to add comment