-
-
Notifications
You must be signed in to change notification settings - Fork 28
Example: File to AMQP
Lorenzo Mangani edited this page Sep 13, 2017
·
6 revisions
PaStash natively support AMQP exchange such as RabbitMQ for distribution and queuing of processed messages.
input {
file {
path => "/var/log/nginx/access.log"
}
}
amqp {
host => log_server
port => 5672
exchange_name => pastash
}
input {
amqp {
host => localhost
port => 5672
exchange_name => pastash
}
}
output {
stdout {}
}