Kenji Okimoto
5750349b1e
Add models for parser plugins
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-05 17:13:25 +09:00
Kenji Okimoto
204c3d9f42
in_http: Display parse type
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-05 16:29:39 +09:00
Kenji Okimoto
d69aefc003
in_http: Organize options
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-05 15:36:29 +09:00
Kenji Okimoto
c675753db4
Set default values to in_monitor_agent
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-05 15:28:02 +09:00
Kenji Okimoto
7a09c95b23
Drop TLS support for now
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-28 16:35:38 +09:00
Kenji Okimoto
3e24f7eff1
Use out_file as secondary output
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-28 15:25:19 +09:00
Kenji Okimoto
58f5ab3b10
Construct section class properly
...
In previous version, run merged block before calling init.
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-28 14:58:02 +09:00
Kenji Okimoto
a849fdeda3
Remove unused module
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-28 11:13:13 +09:00
Kenji Okimoto
a8401530ab
Use new style definition
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-24 18:26:17 +09:00
Kenji Okimoto
ac8c1fa9f8
Add custom types
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-24 17:55:44 +09:00
Kenji Okimoto
2efebe3de0
Fluentd configuration is not XML
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:14:37 +09:00
Kenji Okimoto
ecd40a81f4
Support reloading Fluentd/td-agent
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:13:28 +09:00
Kenji Okimoto
e3c6d9032f
Use systemctl instead of /etc/init.d/td-agent
...
Because td-agent3 supports systemd.
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:11:25 +09:00
Kenji Okimoto
cfda9dcaea
Module#include is public since Ruby 2.1
...
We don't support old versions of Ruby.
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:11:09 +09:00
Kenji Okimoto
1620161467
Remove outdated comment
...
td-agent3 supports reload command.
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:07:33 +09:00
Kenji Okimoto
ebbf16af2a
Remove outdated comment
...
td-agent3's /etc/init.d/td-agent has reload command.
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:07:33 +09:00
Kenji Okimoto
57d49b0dd8
Remove outdated link
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:07:33 +09:00
Kenji Okimoto
54ee95fcef
Update comment for td-agent3
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:07:33 +09:00
uu59
9002b11926
Remove needless --use-v1-config option
2015-11-30 11:45:10 +09:00
yoshihara
f4381a81fd
Use constant for magic number
2015-04-21 18:41:02 +09:00
yoshihara
c591734ede
Remove duplicated accessor defining
2015-04-21 11:41:46 +09:00
uu59
8c5a959b97
Remove useless lines
2015-04-20 14:22:21 +09:00
uu59
368d344291
#162 in_tail multiline preview
2015-04-20 14:22:21 +09:00
yoshihara
8f21c5f68c
Prevent zombie processes from increasing
...
fixes #165
Before, in dashboard, clicking "Start" button creates a process as
zombie, but clicking "Stop" button doesn't kill it. This change prevents
it from becoming zombie.
2015-04-01 15:06:04 +09:00
uu59
fb0c7137c9
Merge pull request #160 from fluent/buffer_path_and_buffer_type
...
Fix #158 validation for buffer_path when buffer_type is 'file'
2015-03-11 13:37:01 +09:00
uu59
430bffded7
Fix #158 validation for buffer_path when buffer_type is 'file'
2015-03-04 11:42:55 +09:00
uu59
6b034ee718
Fix #157 remove parameters causing warn on fluentd
2015-03-04 11:26:53 +09:00
uu59
a5a3700a76
Use #send for private method on 1.9.3
2015-02-10 15:57:10 +09:00
uu59
f4495337fc
Resolve TODO by removing so that was unused anywhere
2015-02-10 15:55:39 +09:00
uu59
d6f9992a48
Rename: FluentdUiLog -> FluentdLog
2015-02-10 15:49:56 +09:00
uu59
b5d4be2659
Fluentd::Agent::Log is now dependent class. Use composite
2015-02-10 14:58:54 +09:00
uu59
9b2d968bc1
Separate Common module by concerns
2015-02-10 13:51:04 +09:00
uu59
b6b34ff482
Add marker for Common methods
2015-02-04 18:18:11 +09:00
uu59
e82e81e234
Re-order methods
2015-02-04 17:49:04 +09:00
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