No commit activity in last 3 years
No release in over 3 years
override the standard in_http plugin.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.14
~> 12.0
~> 3.0

Runtime

< 2, >= 0.14.10
 Project Readme

fluent-plugin-http-include-time-key

Fluentd input plugin to do something.

  • in_http plugin for including time tag in record in case of post multiple records.

Installation

RubyGems

$ gem install fluent-plugin-http-include-time-key

Config

<source>
  @id source-http
  @type http_include_time_key
  port 9880
  bind 0.0.0.0
  body_size_limit 32m
  keepalive_timeout 10s
  add_remote_addr true
  time_key fluent_time
  time_format %Y-%m-%d %H:%M:%S.%L
  keep_time_key true
</source>

Usage

$ curl -X POST -d 'json=[{"message":"TEST","time":"2018-08-09 17:00:00"},{"message":"TEST2","time":"2018-08-09 17:10:00"}]' http://localhost:9880/tag.sample -v

Copyright

  • Copyright(c) 2018- TODO: Write your name
  • License
    • Apache License, Version 2.0