Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input {
- file {
- type => "syslog"
- path => [ "/var/log/messages", "/var/log/syslog", "/var/log/*.log", "/var/log/cron", "/var/log/secure" ]
- }
- file {
- type => "apache-access"
- path => "/var/log/httpd/access_log"
- }
- file {
- type => "apache-error"
- path => "/var/log/httpd/error_log"
- }
- }
- output {
- # Output events to stdout for debugging. Feel free to remove
- # this output if you don't need it.
- stdout { }
- # Ship events to the amqp fanout queue named 'rawlogs"
- amqp {
- host => "some.host.com"
- exchange_type => "fanout"
- name => "amq.fanout"
- user => "graylog2"
- password => "secret"
- vhost => "syslog"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement