Skip to content

Example: File to ZMQ

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

ZMQ

PaStash natively support ZeroMQ (also spelled ØMQ, 0MQ or ZMQ) a high-performance asynchronous messaging library, aimed at use in distributed or concurrent applications without a dedicated message broker.

Log Agent(s)

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

output {
  zeromq {
    address => ["tcp://log_server:5555"]
  }
}

Log Server

input {
 zeromq {
    address => ["tcp://0.0.0.0:5555"]
  }
}

output {
  stdout {}
}
Clone this wiki locally