No commit activity in last 3 years
No release in over 3 years
A Fluentd input plugin to scan files recurrently from a directory
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.14
~> 12.0
~> 3.0

Runtime

>= 0.14.10, < 2
 Project Readme

fluent-plugin-directory

Fluentd input plugin to scan files recurrently from a directory.

Installation

RubyGems

$ gem install fluent-plugin-directory

Bundler

Add following line to your Gemfile:

gem "fluent-plugin-directory"

And then execute:

$ bundle

Configuration

  • batch_size (integer) (optional): The maximum number of files processed in each run.
    • Default value: 10.
  • content_key (string) (optional): The field where the content of the file is stored in the output event.
    • Default value: content.
  • filename_key (string) (optional): The field where the name of the file is stored in the output event.
    • Default value: filename.
  • path (string) (required): The path of the folder to scan.
  • run_interval (integer) (optional): The interval (in seconds) to wait between scans.
    • Default value: 60.
  • tag (string) (required): The tag added to the output event.

Copyright

  • Copyright(c) 2021- Rémy DUTHU
  • License
    • Apache License, Version 2.0