Skip to content

Latest commit

 

History

History
74 lines (53 loc) · 1.71 KB

running_mode.md

File metadata and controls

74 lines (53 loc) · 1.71 KB

DNS-collector - Running mode

The DNScollector can be configured with multiple loggers and collectors at the same time

Pipelining

The pipelining mode offers several enhancements compared to the old multiplexer mode. It provides the same functionalities with added flexibility:

  • Simplified syntax
  • Conditional statement-based log routing: dropped packet can be send to another stanza
  • Ability to add metadata in DNS messages.

With this mode, you can create pipelines and connect collectors and loggers using the new routing-policy definition.

pipelines:
  - name: <stanza1>
    ...(collector or logger config)..
    routing-policy:
      forward: [ <logger1> ]
      dropped: [ <logger2> ]

  - name: <stanza2>
    ...(collector or logger config)..

The routing policy support 2 modes:

  • forward: [ list of next stanza ]
  • dropped: [ list of next stanza ]

Multiplexer (DEPRECATED)

NOTE: THIS MODE IS DEPRECATED

You must defined the list of

  • collectors: list of running inputs
  • loggers: list of running outputs
  • routes: routing definition

List of supported collectors

multiplexer:
  collectors: 
    - name: <collector_name>
      .....

List of supported loggers

multiplexer:
  loggers: 
    - name: <logger_name>
      ...

Defines the routing to use between all of them according to the name. You can connect one collector to multiple loggers and you can also connect multiple collectors to the same logger.

multiplexer:
  routes: ...
    - from: [ list of collectors by name ]
      to: [ list of loggers by name ]