No commit activity in last 3 years
No release in over 3 years
Fluentd out_stdout extension
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

Recent built-in stdout plugin supports formatter. This plugin is no longer needed.

fluent-plugin-stdout_ex

Fluentd out_stdout extension

Introduction

Although the original out_stdout outputs log messages as:

2010-05-04 12:02:01 +0900 test: {"test":"test"}

this plugin outputs log messages as:

2014-05-02 02:02:21 +0900 [info]: 2010-05-04 12:02:01 +0900 test: {"test":"test"}

where the first time expresses the current time of logging, and the second time expresses the time field of messages, i.e., the time when the message is created, or the time written in application logs.

This behavior is very useful because we can see the latency between receiving (logging) and sending (creating) of messages.

Configuration

<match **>
  type stdout_ex
</match>

Parameters

Basically same with out_stdout plugin. See http://docs.fluentd.org/articles/out_stdout

  • format ltsv

    The output becomes LTSV format as followings:

    current_time:2010-05-04 12:02:01 +0900 time:2010-05-04 12:02:01 +0900 tag:test record:{"test":"test"}

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

ChangeLog

See CHANGELOG.md for details.

stdoutright

  • Copyright (c) 2014- Naotoshi Seo
  • See LICENSE for details.