Go to file
Kouhei Sutou 8e8c95fce3 in_tail: Fix error on setting page for binary file
How to reproduce:

  * Create a binary file by the following command:

        "ruby -e 'puts "\u3042"' > /tmp/xxx"

  * Open /daemon/setting/in_tail
  * Select "/tmp/xxx"
  * Error page is rendered
  * log/production.log says:

        ActionView::Template::Error (undefined method `join' for nil:NilClass):
            12:     = f.text_field :path, class: "form-control", disabled: true
            13:   = render partial: "shared/vue/in_tail_format", locals: { file: f.object.path, formats: @setting.known_formats, initialSelected: f.object.format || @setting.guess_format }
            14:
            15:   %pre= file_tail(@setting.path).join("\n")
            16:
            17:   %p
            18:     = f.submit t('terms.next'), class: "btn btn-lg btn-primary pull-right"
          app/views/fluentd/settings/in_tail/after_file_choose.html.haml:15:in `block in _app_views_fluentd_settings_in_tail_after_file_choose_html_haml___1713159989942914940_40548520'
2014-08-06 17:34:23 +09:00
app in_tail: Fix error on setting page for binary file 2014-08-06 17:34:23 +09:00
bin Restart fluentd-ui process with fluentd-ui 2014-07-04 12:51:14 +09:00
config cosme 2014-08-01 13:15:24 +09:00
db Remove ActiveRecord dependency for remove SQLite3 2014-06-19 16:28:34 +09:00
lib Bump version to 0.1.0 2014-07-29 10:57:00 +09:00
log rails new ./fluentd-ui -T -D 2014-05-08 15:53:16 +09:00
public Use fluentd logo 2014-07-24 15:28:04 +09:00
spec Store fluentd setting data to user's home if variant=fluentd_gem 2014-07-30 18:03:41 +09:00
tmp Ensure tmp/ directory to create pid file for rails s 2014-07-25 16:00:44 +09:00
vendor Add some specs and fix minor issues 2014-07-29 14:11:05 +09:00
.bowerrc Manage js assets by bower 2014-06-02 11:36:17 +09:00
.gitignore Ensure tmp/ directory to create pid file for rails s 2014-07-25 16:00:44 +09:00
.rspec rails generate rspec:install 2014-05-08 16:00:55 +09:00
bower.json Add lodash-compat 2014-06-13 13:40:12 +09:00
ChangeLog v0.1.0 2014-08-01 17:51:49 +09:00
circle.yml [CI] Verbose output for spec on CI 2014-07-30 16:46:07 +09:00
config.ru rails new ./fluentd-ui -T -D 2014-05-08 15:53:16 +09:00
fluentd-ui-ss01.png Update screenshots 2014-08-01 12:57:21 +09:00
fluentd-ui-ss02.png Update screenshots 2014-08-01 12:57:21 +09:00
fluentd-ui-ss03.png Update screenshots 2014-08-01 12:57:21 +09:00
fluentd-ui-ss04.png Update screenshots 2014-08-01 12:57:21 +09:00
fluentd-ui-ss05.png Update screenshots 2014-08-01 12:57:21 +09:00
fluentd-ui.gemspec Remove unnecessary dependency from production (maybe #70 fixed) 2014-08-04 10:48:41 +09:00
Gemfile Remove unnecessary dependency from production (maybe #70 fixed) 2014-08-04 10:48:41 +09:00
Gemfile.lock Remove unnecessary dependency from production (maybe #70 fixed) 2014-08-04 10:48:41 +09:00
Gemfile.production Don't load Gemfile.plugins, it is no needed now 2014-05-29 14:15:05 +09:00
Rakefile Import bundler's rake tasks to make .gem file 2014-05-09 15:37:27 +09:00
README.md Update README.md 2014-08-01 18:02:35 +09:00

fluentd-ui

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, pidfile path, etc
  • View fluentd log with simple error viewer

Getting Started

$ gem install fluentd-ui
$ fluentd-ui start

Open http://localhost:9292/ by your browser.
The default account is username="admin" and password="changeme"

To the developer

$ git clone https://github.com/treasure-data/fluentd-ui
$ cd fluentd-ui
$ bundle install
$ bundle exec rails s

Also you need a phantomjs for test.

$ npm install -g phantomjs
Or,
$ brew install phantomjs

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

Building fluentd-ui.gem

fluentd-ui has the same tasks of bundle gem foobar; cd foobar; rake -T.

$ bundle exec rake build
fluentd-ui X.X.X built to pkg/fluentd-ui-X.X.X.gem.

$ bundle exec rake release
# Push to rubygems.org

Screenshots

(v0.1.0)

ss01 ss02 ss03 ss04 ss05