Guest User

Untitled

a guest
Nov 24th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. services.logstash = {
  2. enable = true;
  3.  
  4. inputConfig = config.lib.logstash.mkNameValuePairs [
  5. {
  6. file = {
  7. type = "syslog";
  8. path = "/var/log/messages";
  9. };
  10. }
  11.  
  12. {
  13. file = {
  14. type = "apache-access";
  15. path = "/var/log/apache2/access.log";
  16. };
  17. }
  18. ];
  19.  
  20. outputConfig = {
  21. amqp = {
  22. host = "mq.provisioning.predictix.com";
  23. exchange_type = "fanout";
  24. name = "rawlogs";
  25. port = 5670;
  26. ssl = true;
  27. verify_ssl = false;
  28. user = "THISISNOTTHEREALUSERNAME";
  29. password = "THISISNOTTHEREALPASSWORD";
  30. };
  31. };
  32. };
Add Comment
Please, Sign In to add comment