logagent-output-zeromq

0.0.8 • Public • Published

Logagent Plugin: ZeroMQ

Output plugin for @sematext/logagent. The plugin acts as message consumer using ZeroMQ.

Output plugins support three types of messaging patterns

  • Publish-subscripe
  • Request-response
  • fire-and-forget some times called pipeline

Installation

Install @sematext/logagent and logagent-output-zeromq npm package:

npm i -g @sematext/logagent 
npm i -g logagent-output-zeromq

Configuration

# Global options
options:
  includeOriginalLine: false

input:
  stdin: true

output:
  zeromq: 
    module: output-zeromq
    host: 127.0.0.1
    port_zmq: 3000
    # for Publish-subscribe = 0  Request-response = 1  Publish-subscribe= 2
    pattern: 1
    topic: topic-example

Start logagent

logagent --config logagent-zeromq-output.yml

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i logagent-output-zeromq

    Weekly Downloads

    1

    Version

    0.0.8

    License

    MIT

    Last publish

    Collaborators

    • fbalicchia