No commit activity in last 3 years
No release in over 3 years
A fluentd plugin to pretty print json with color to stdout
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

< 2, >= 0.14.12
 Project Readme

fluent-plugin-stdout-pp, a plugin for Fluentd

Build Status

A fluentd plugin to pretty print json with color to stdout

Requirements

fluent-plugin-stdout-pp fluentd ruby
>= 0.2.0 >= v0.14.0 >= 2.1
< 0.2.0 >= v0.12.0 >= 1.9

Installation

Add this line to your application's Gemfile:

gem 'fluent-plugin-stdout-pp'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fluent-plugin-stdout-pp

Configuration

<match **>
  @type stdout_pp
  time_color blue
  tag_color yellow
</match>

Parameters

parameter description default
pp prety print json or not true
time_color color name to print time blue
tag_color color name to print tag yellow
record_colored print json with color or not true

Available colors:

  • normal
  • red
  • green
  • yellow
  • magenta
  • white

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

Copyright

Author Masahiro Sano
Copyright Copyright (c) 2013- Masahiro Sano
License MIT License