Go to file
Kenji Okimoto dd8ecfeb28 Prepare to release v1.2.2
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-12-06 11:40:02 +09:00
app Stop overwriting parameter type by nil 2018-11-07 13:07:16 +09:00
bin Run bin/setup instead of bundler 2018-05-21 15:27:45 +09:00
config Add label for clear 2018-10-04 14:06:44 +09:00
db Remove useless files 2015-01-14 11:14:42 +09:00
docs/screenshots Fix typo: in_file -> in_tail 2014-12-03 16:27:41 +09:00
gemfiles Bundle update 2018-08-17 13:55:54 +09:00
lib Prepare to release v1.2.2 2018-12-06 11:40:02 +09:00
log rails new ./fluentd-ui -T -D 2014-05-08 15:53:16 +09:00
public Add logo for td-agent-ui 2014-12-10 16:53:14 +09:00
test Enable coverage 2018-10-10 12:10:46 +09:00
tmp Ensure tmp/ directory to create pid file for rails s 2014-07-25 16:00:44 +09:00
.babelrc Run bin/rails webpacker:install && bin/rails webpacker:install:vue 2018-05-15 14:51:17 +09:00
.editorconfig Add .editorconfig 2018-05-16 16:42:02 +09:00
.eslintrc.js Treat some variables as global 2018-11-05 11:17:04 +09:00
.gitignore Add ignore pattern 2018-05-22 10:55:47 +09:00
.postcssrc.yml Run bin/rails webpacker:install && bin/rails webpacker:install:vue 2018-05-15 14:51:17 +09:00
.travis.yml Install Node.js 10 2018-07-19 12:40:16 +09:00
ChangeLog Add Link to ChangeLog.md from ChangeLog (old ChangeLog) 2015-04-15 16:24:52 +09:00
ChangeLog.md Prepare to release v1.2.2 2018-12-06 11:40:02 +09:00
config.ru Support relative URL 2018-08-08 17:43:45 +09:00
fluentd-ui.gemspec Support dig method for Ruby 2.2 2018-07-19 14:44:55 +09:00
Gemfile Bundle update 2018-08-17 13:55:54 +09:00
Gemfile.lock Prepare to release v1.2.2 2018-12-06 11:40:02 +09:00
Gemfile.production Don't load Gemfile.plugins, it is no needed now 2014-05-29 14:15:05 +09:00
LICENSE Add license file (Apache v2.0) 2014-08-22 17:25:35 +09:00
package.json Add bootstrap-vue 2018-10-03 13:25:18 +09:00
Rakefile Simplify 2018-07-25 18:29:57 +09:00
README.md Update README.md 2018-08-08 17:43:45 +09:00
yarn.lock Add bootstrap-vue 2018-10-03 13:25:18 +09:00

fluentd-ui

Build Status Gem Version Code Climate

fluentd-ui is a browser-based fluentd and td-agent manager that supports following operations.

  • Install, uninstall, and upgrade Fluentd plugins
  • start/stop/restart fluentd process
  • Configure Fluentd settings such as config file content, pid file path, etc
  • View Fluentd log with simple error viewer

Official documentation | Changelog

Requirements

  • ruby 2.2.2 or later (since v1.0.0)
  • fluentd v1.0.0 or later (also supports td-agent 3)
    • Currently, fluentd v1 and td-agent 3 support is in alpha state

And some additional packages (Debian / Ubuntu)

  • build-essential
  • libssl-dev
  • libxml2-dev
  • libxslt1-dev
  • ruby-dev

How to install and run

$ gem install fluentd-ui
$ fluentd-ui setup
$ fluentd-ui start --daemonize

Access http://localhost:9292 by web browser.

Run under sub path

Use RAILS_RELATIVE_URL_ROOT environment variable.

$ RAILS_RELATIVE_URL_ROOT=/prefix fluentd-ui start --daemonize

Access http://localhost:9292/prefix by web browser.

Development

$ git clone https://github.com/fluent/fluentd-ui
$ cd fluentd-ui
$ bundle install
$ bin/rails s

Also you need a chromedriver or chromiumdriver for test.

$ npm install -g chromedriver
Or,
$ brew install chromedriver
Or,
$ sudo apt install chromium-driver

NOTE: chromedriver executable binary should be located under your $PATH.

Building fluentd-ui.gem

# Generate ChangeLog.md and increment version
$ bin/rails release:prepare

# Clear tmp/, public/assets and public/packs
$ bin/rails tmp:clear assets:clobber && touch tmp/.gitkeep

# Generate pre-compiled assets
$ RAILS_ENV=production bin/rails assets:precompile

# fluentd-ui X.X.X built to pkg/fluentd-ui-X.X.X.gem.
$ RAILS_ENV=production bin/rails build

# Push to rubygems.org
$ bin/rails release