Skip to content

Example: File to AMQP

Lorenzo Mangani edited this page Sep 13, 2017 · 6 revisions

ZMQ

PaStash natively support AMQP exchanges, like a RabbitMQ for distribution and queuing of messages.

Log Agent(s)

input {
  file {
    path => "/var/log/nginx/access.log"
  }
}

amqp {
    host => log_server
    port => 5672
    exchange_name => pastash
  }

Log Server

input {
  amqp {
    host => localhost
    port => 5672
    exchange_name => pastash
  }
}

output {
  stdout {}
}
Clone this wiki locally