https://github.com/toyama0919/fluent-plugin-leftronic
https://github.com/toyama0919/fluent-plugin-leftronic
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/toyama0919/fluent-plugin-leftronic
- Owner: toyama0919
- License: mit
- Created: 2013-07-06T05:32:03.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-01T17:36:35.000Z (about 11 years ago)
- Last Synced: 2025-02-02T08:32:00.147Z (4 months ago)
- Language: Ruby
- Size: 193 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Fluent::Plugin::Leftronic, a plugin for [Fluentd](http://fluentd.org)
Leftronic output plugin for Fluentd.
## Installation
$ fluent-gem install fluent-plugin-leftronic
## parameter
param | value
--------|------
access_key|leftronic access key
stream_name|leftronic stream name
value|count key(line or number only)
graph_type|line or number or pie or bar or leaderboard
name_key_pattern|regular expression(pie or bar or leaderboard only)
display_keys|display key(pie or bar or leaderboard only)## Configuration
type leftronic
access_key ${leftronic-access-key} # leftronic access key
stream_name ${leftronic-stream-name} # leftronic stream_name
value key_name
type copy
type leftronic
access_key ${leftronic-access-key} # leftronic access key
stream_name ${leftronic-stream-name} # leftronic stream_name
graph_type bar # default => line , number , pie , bar , leaderboard
name_key_pattern .*_(count)$ # enable => Googlebot_count,Yahoo! Japan_count,smartphone_count disable => Googlebot_rate
display_keys {'Yahoo! Japan_count' => 'yahoo','Googlebot_count' => 'google','smartphone_count' => 'スマートフォン数'}
type leftronic
access_key ${leftronic-access-key} # leftronic access key
stream_name ${leftronic-stream-name} # leftronic stream_name
graph_type line # default => line , number , pie , bar , leaderboard
value Yahoo! Japan_count
type leftronic
access_key ${leftronic-access-key} # leftronic access key
stream_name ${leftronic-stream-name} # leftronic stream_name
graph_type number # default => line , number , pie , bar , leaderboard
value Googlebot_count
## 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