Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fluent-plugin-route

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-plugin-route

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

fluent-plugin-route

Fluentd output plugin to rewrite tags to route messages.

Configuration

Example 1: Use only tag

<match worker.**>
  @type route
  remove_tag_prefix worker
  <route **>
    add_tag_prefix metrics.event
    copy # For fall-through. Without copy, routing is stopped here. 
  </route>
  <route **>
    add_tag_prefix backup
    copy
  </route>
</match>

<match metrics.event.**>
  @type stdout
</match>

<match backup.**>
  @type file
  path /var/log/fluent/bakcup
</match>

Example 2: Use label

<match worker.**>
  @type route
  remove_tag_prefix worker
  add_tag_prefix metrics.event
  <route **>
    copy
  </route>
  <route **>
    copy
    @label @BACKUP
  </route>
</match>

<match metrics.event.**>
  @type stdout
</match>

<label @BACKUP>
  <match metrics.event.**>
    @type file
    path /var/log/fluent/bakcup
  </match>
</label>

TODO

  • tests
  • Copyright
    • The original version of out_route is written by @frsyuki.
    • TAGOMORI Satoshi (tagomoris)
  • License
    • Apache License, Version 2.0

FAQs

Package last updated on 01 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc