Skip to content
(Deprecated) Fluentd out_stdout extension
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/fluent/plugin
test
.gitignore
.travis.yml
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
fluent-plugin-stdout_ex.gemspec

README.md

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.
You can’t perform that action at this time.