mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-11 00:37:06 +02:00
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' |
||
---|---|---|
app | ||
bin | ||
config | ||
db | ||
lib | ||
log | ||
public | ||
spec | ||
tmp | ||
vendor | ||
.bowerrc | ||
.gitignore | ||
.rspec | ||
bower.json | ||
ChangeLog | ||
circle.yml | ||
config.ru | ||
fluentd-ui-ss01.png | ||
fluentd-ui-ss02.png | ||
fluentd-ui-ss03.png | ||
fluentd-ui-ss04.png | ||
fluentd-ui-ss05.png | ||
fluentd-ui.gemspec | ||
Gemfile | ||
Gemfile.lock | ||
Gemfile.production | ||
Rakefile | ||
README.md |
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)