Commit Graph

178 Commits

Author SHA1 Message Date
uu59
098f00b48d Also dryrun! is required to be defined 2015-02-04 17:04:40 +09:00
uu59
3b34c720b5 wait_process_starting_seconds is not common (used at fluentd_gem only) 2015-02-04 17:04:14 +09:00
uu59
73b9a01289 LocalCommon and Common was separated by historical reason. it's time to be one 2015-02-04 16:55:55 +09:00
uu59
5dcd1fdf46 more human friendly name 2015-02-04 16:23:06 +09:00
uu59
e0f0ccdc3b DRY 2015-02-04 16:12:05 +09:00
uu59
f54a5a24ff Add dryrun button to setting#edit 2015-02-04 15:03:25 +09:00
uu59
cc300d46a9 Agent#dryrun learned file_path argument for arbitrary config file checking 2015-02-04 12:58:52 +09:00
鳥井 雪
438ed3d518 Fix #logged_error bugs.
Before, it put serial other error log into one error subject and it's notes.
Fix to divide them into each error subject
2015-01-15 15:06:19 +09:00
uu59
5fe3ef7de4 cosme 2015-01-14 14:31:34 +09:00
uu59
1c08790abf Add tests and fix dryrun 2015-01-14 14:29:41 +09:00
uu59
afc6cca460 Ensure exit status code for detached_command method result 2015-01-14 13:42:32 +09:00
uu59
f80ab8a69a Add dryrun method to agents 2015-01-14 13:38:14 +09:00
uu59
0856c4e26c Follow out_s3 plugin ver 0.5.x 2015-01-14 10:49:56 +09:00
hassaku
5de418539f Remove also note file at the same time as removing backup config file. 2015-01-07 18:23:15 +09:00
hassaku
9cc12f7bc3 Show exceptions if updating note fails. 2015-01-07 17:34:02 +09:00
hassaku
336e22bea7 Change termination regular expression properly. 2015-01-07 17:27:10 +09:00
hassaku
974869a6a8 Escape argument not to substitute unintended path. 2015-01-07 15:17:29 +09:00
hassaku
b8ca05a16c Touch an empty file if note doesn't exist. 2015-01-07 15:13:37 +09:00
hassaku
e2e884e317 Add method to update content of note. 2015-01-07 13:56:22 +09:00
hassaku
a28b71084c Associate a note with a backup file. 2015-01-07 12:06:44 +09:00
hassaku
7a95af83ce Add Note class to memo about backup files. 2015-01-07 12:05:57 +09:00
hassaku
bb7786499b Extract common procedures into module. 2015-01-07 12:03:54 +09:00
鳥井 雪
92134654ea Make dir app/models/fluentd/setting_archive/
and move backup_file model under it. prepare for gathering models that concernig about archive
2014-12-26 14:59:50 +09:00
uu59
40de266d37 Merge pull request #123 from fluent/remove_dead_code
Remove dead code
2014-12-18 12:43:27 +09:00
鳥井 雪
6105886705 Change to use application.yml setting instead of hard coded number 2014-12-17 18:44:17 +09:00
鳥井 雪
7b65e03cc8 Change to use File.join instead of string concatenation
because File.join makes the purpose of code clear and do it safely
2014-12-17 18:19:01 +09:00
鳥井 雪
c4eb06f5ba Chamge method name #backup_files -> #backup_files_in_old_order
to make its sort function clearer, and Refactor #remove_over_backup_files by using it
2014-12-17 18:09:04 +09:00
uu59
47328af9c9 Remove Fluentd::Agent::Remote 2014-12-17 17:08:01 +09:00
鳥井 雪
560035b185 Add UI for running bacukp config 2014-12-17 17:04:24 +09:00
uu59
8f0086abb5 Remove Fluentd::Api 2014-12-17 16:58:11 +09:00
uu59
7ec6c1b9fd Fix to write config file via Fleuntd::Agent 2014-12-17 13:21:58 +09:00
鳥井 雪
0786fafb9b Remove keyword argument from methods
for Ruby 1.9
2014-12-16 19:03:06 +09:00
鳥井 雪
36bd26a37d Add UI to reuse backup config files 2014-12-16 17:58:34 +09:00
鳥井 雪
b87b2c8af4 Add #backup_running_config method
on Fluentd::Agent
2014-12-15 15:37:21 +09:00
鳥井 雪
9a1b72b6b0 Add fluentd.agent#backup_config method
and call it in #config_write and #config_append
to backup config histories
2014-12-11 16:27:04 +09:00
Koichi TANAKA
50b5fbed54 Fix bug: pid become zero when pid file is empty 2014-12-03 17:07:08 +09:00
Koichi TANAKA
c501a76264 Make public for testing 2014-12-03 16:31:30 +09:00
hassaku
963307c7b5 Add forward input settings. 2014-12-03 15:17:04 +09:00
hassaku
155e33d6dd Add http input settings. 2014-12-03 15:17:04 +09:00
uu59
9ac66f05d3 Add out_stdout setting 2014-12-03 15:17:03 +09:00
uu59
f44e6791e7 Add in_monitor_agent setting 2014-12-03 15:17:03 +09:00
uu59
86351718f3 Add JSON API for changing config by section 2014-11-25 18:05:25 +09:00
uu59
645c2bbefc Refactor: Config#config -> Config#fl_config 2014-11-25 17:43:11 +09:00
uu59
e8236456c2 Add feature spec 2014-11-18 16:01:39 +09:00
uu59
22dd9c4bdb Display current setting 2014-11-18 16:00:44 +09:00
uu59
c7233a565e Fix to create pidfile on Mac 2014-11-11 13:00:10 +09:00
uu59
703eba0079 Swithing MacOSX or UNIX for handling td-agent process 2014-11-11 13:00:10 +09:00
uu59
3c7786f262 Refactor plugin setting
Adding support for some plugins was hard.
After this commit, easy to add a plugin that has commonly
setting style.

Before:
- Add model, controller, and views for it.

After:
- Add model and controller. view is shared.
2014-11-04 14:29:31 +09:00
uu59
ba31ef566a Fix can't setting with regexp on in_tail 2014-08-14 18:29:06 +09:00
uu59
5e704969d2 tag_key is not config param 2014-08-13 18:20:24 +09:00
uu59
242e23732c Add out_elasticsearch setting 2014-08-13 18:12:28 +09:00
uu59
341dc515bf Use full path for /usr/sbin/td-agent --version 2014-07-31 14:29:29 +09:00
uu59
a4eacf0a5b Fix out_s3 unused params 2014-07-31 13:53:19 +09:00
uu59
144cfdeeef Fix to not create zombie 2014-07-31 10:56:52 +09:00
uu59
e7b449f44f FluentGem default setting no require root permission 2014-07-30 17:53:42 +09:00
uu59
24899b7a6a Don't too quickly response of td-agent start/stop/restart 2014-07-30 17:08:38 +09:00
uu59
0846f18fbb Fix td-agent operation 2014-07-30 16:19:20 +09:00
uu59
edafcf3bb5 Fix out_td setting type name 2014-07-29 11:34:47 +09:00
uu59
dd8fded3a1 Fix to find correct fluent-gem path 2014-07-28 18:37:10 +09:00
uu59
f40200741f Clean up out_td params 2014-07-28 16:15:59 +09:00
uu59
6a4c551d77 Add primitive impl of mutilple <server> on out_forward 2014-07-22 18:33:14 +09:00
uu59
5403234974 Merge remote-tracking branch 'origin/master' into add_output_settings
* origin/master:
  Auto reload fluentd log by default
  Fix if fluentd is not installed
  Replace title with ENV
  Strict detetction fluent-gem command with setup fluentd/td-agent specific
  clickable whole heading element same as fluentd setting page
  Fix fluentd version (not bundle-installed fluentd version)
  Hide plugin pages until fluentd setup finished

Conflicts:
	app/views/shared/_global_nav.html.erb
2014-07-22 14:09:06 +09:00
uu59
da9111a72a Merge pull request #54 from treasure-data/fix_gem_handling
Fix gem handling
2014-07-22 11:09:37 +09:00
uu59
b36b3eb483 Add <secondary> for out_forward 2014-07-17 16:33:54 +09:00
uu59
1e0d51050c Add spec for Fluentd::Setting::Common 2014-07-17 15:43:45 +09:00
uu59
55ebbe6b80 Refactoring: to_conf -> to_config 2014-07-17 14:09:10 +09:00
uu59
b2594218b0 Simplified out_s3 setting 2014-07-17 14:03:32 +09:00
uu59
4fac24a9bf Fix fluentd version (not bundle-installed fluentd version) 2014-07-17 13:42:36 +09:00
uu59
6ffe053097 Fix form styling 2014-07-17 11:14:19 +09:00
uu59
3ddb412846 Add out_forward setting basis (wip) 2014-07-16 13:33:50 +09:00
uu59
fec145a9d6 Refactoring: out_td rely on Fluentd::Setting::Common 2014-07-14 15:33:54 +09:00
uu59
d47b60a953 Add out_s3 setting basis 2014-07-14 15:09:22 +09:00
uu59
744c6a18ea Add in_syslog setting basis 2014-07-11 12:54:36 +09:00
uu59
ee8e3e5407 Add out_td setting basis 2014-07-11 11:06:23 +09:00
uu59
ed193ac90f Add missing match column for out_mongo 2014-07-11 11:06:23 +09:00
uu59
c833682cc8 Add basis out_mongo setting 2014-07-11 11:06:23 +09:00
uu59
60310228dc Default format is regexp instead of grok 2014-07-09 15:45:10 +09:00
uu59
5f3a5c6b65 Refactoring: dependent model file 2014-07-09 15:43:16 +09:00
uu59
6498ad34ff Fix fluentd launch option 2014-07-09 14:22:07 +09:00
uu59
ecf9b0054a Follow fluentd 0.10.51 changes 2014-07-09 14:03:31 +09:00
uu59
a923ade63e Auto fill-in time_format after selected format 2014-07-09 14:01:27 +09:00
uu59
016926ca1b To be robust for the future 2014-07-07 15:50:52 +09:00
uu59
afaccdc066 Fix #40 validate config before restart fluentd 2014-07-07 15:37:23 +09:00
uu59
e73915c76e Fix error when log file is not created yet 2014-07-03 15:01:09 +09:00
uu59
5f8e28a841 clarify error message 2014-07-03 14:57:18 +09:00
uu59
cba4f3657d cosme 2014-07-03 14:28:00 +09:00
uu59
2f50f07c8a to be private not public API 2014-07-03 14:15:49 +09:00
uu59
e240dd5600 Rename to a correct name 2014-07-03 11:38:18 +09:00
uu59
82d25469f9 Refactoring Fluentd::Agent API 2014-07-02 16:30:00 +09:00
uu59
a3d61c3cc8 Resolve some TODOs 2014-07-01 11:19:15 +09:00
uu59
675eba7ded Change: error logs limitation by 'recent N days' from 'N errors' 2014-06-30 14:19:16 +09:00
uu59
122158bceb Refactor: grab errors from log to be dependent method 2014-06-30 11:16:44 +09:00
uu59
38e50ba32e Hide Grok format for now for commented issue 2014-06-27 17:13:49 +09:00
uu59
2cc96c50a3 Remove resolved TODO 2014-06-26 17:21:33 +09:00
uu59
a2780ced3d Fix regexp format 2014-06-26 17:11:14 +09:00
uu59
d22409a366 Can omit load_patterns arguments 2014-06-26 13:25:51 +09:00
uu59
61dc3da127 Grok convert to Regexp for config file 2014-06-24 16:54:11 +09:00
uu59
c5096bf86e Support grok format (still work in progress) 2014-06-23 16:40:15 +09:00
uu59
9aed8408fb Rename Fluentd::Agent::Fluentd{,Gem} for fix autoload problem 2014-06-19 17:33:10 +09:00
uu59
eab05d6185 Remove multiline support 2014-06-18 13:12:08 +09:00