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

fluent-plugin-tail-ex

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-plugin-tail-ex

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

fluent-plugin-tail-ex

Build Status

fluent-plugin-tail-ex provides tail_ex input plugin. In addition to in_tail plugin features, this plugin support more feature for comfortable.

A main feature of the plugin is support path parameter expansions. A path parameter can be configured using glob and/or date format (strftime). Furthermore, the plugin append file path to the configured tag.

Note: In order to pass all tests, this plugin needs fluentd 0.10.26 or above.

Installation

Install it using gem:

$ gem install fluent-plugin-tail-ex

Configuration

Below parameters are extended by this plugin:

  • path: can be specified using glob and strftime format.
  • tag: replace '*' with file path (using dot as a path separator).

And, below parameters are added by this plugin:

  • expand_date: control whether expand strftime format or not.
  • read_all: when new file is found, read from beginning of a file (default), instead of end of file (in_tail).
  • refresh_interval: seconds for re-expand path to find new/old files.

Moreover, all configuration parameters support some placeholders which provided by fluent-mixin-config-placeholders.

Sample configuration:

<source>
  type tail_ex
  path /var/log/**.log,/var/log/by-date/%Y/messages.%m/%Y%m%d
  tag tail_ex.*.${hostname}
  format /^(?<message>.*)$/
  pos_file /var/tmp/fluentd.pos
  refresh_interval 1800
</source>

License

Apache License, Version 2.0

FAQs

Package last updated on 10 Nov 2013

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