fluentd-ui 1.0.0.alpha.2 → 1.0.0.alpha.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of fluentd-ui might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/ChangeLog.md +5 -0
- data/Gemfile.lock +56 -1
- data/README.md +2 -2
- data/app/controllers/api/config_definitions_controller.rb +55 -0
- data/app/controllers/api_controller.rb +20 -3
- data/app/controllers/concerns/setting_concern.rb +18 -2
- data/app/controllers/fluentd/settings/in_tail_controller.rb +13 -5
- data/app/controllers/fluentd/settings/out_forward_controller.rb +0 -9
- data/app/controllers/fluentd/settings/out_s3_controller.rb +0 -5
- data/app/controllers/fluentd/settings/out_tdlog_controller.rb +9 -0
- data/app/form_builders/fluentd_form_builder.rb +83 -0
- data/app/helpers/settings_helper.rb +81 -18
- data/app/javascript/packs/application.js +4 -0
- data/app/javascript/packs/in_tail_parse.js +159 -0
- data/app/javascript/packs/owned_plugin_form.js +141 -0
- data/app/javascript/packs/parser_multiline_form.js +51 -0
- data/app/javascript/packs/plugin_setting.js +19 -0
- data/app/models/concerns/fluentd/setting/configurable.rb +113 -0
- data/app/models/concerns/fluentd/setting/pattern.rb +11 -0
- data/app/models/concerns/fluentd/setting/plugin.rb +78 -0
- data/app/models/concerns/fluentd/setting/plugin_config.rb +74 -0
- data/app/models/concerns/fluentd/setting/plugin_parameter.rb +121 -0
- data/app/models/concerns/fluentd/setting/section_parser.rb +36 -0
- data/app/models/concerns/fluentd/setting/section_validator.rb +21 -0
- data/app/models/fluentd.rb +5 -5
- data/app/models/fluentd/setting/buffer_file.rb +23 -0
- data/app/models/fluentd/setting/buffer_memory.rb +17 -0
- data/app/models/fluentd/setting/formatter_csv.rb +21 -0
- data/app/models/fluentd/setting/formatter_hash.rb +19 -0
- data/app/models/fluentd/setting/formatter_json.rb +25 -0
- data/app/models/fluentd/setting/formatter_ltsv.rb +21 -0
- data/app/models/fluentd/setting/formatter_msgpack.rb +13 -0
- data/app/models/fluentd/setting/formatter_out_file.rb +21 -0
- data/app/models/fluentd/setting/formatter_single_value.rb +20 -0
- data/app/models/fluentd/setting/formatter_stdout.rb +19 -0
- data/app/models/fluentd/setting/formatter_tsv.rb +21 -0
- data/app/models/fluentd/setting/in_forward.rb +7 -17
- data/app/models/fluentd/setting/in_http.rb +13 -19
- data/app/models/fluentd/setting/in_monitor_agent.rb +6 -19
- data/app/models/fluentd/setting/in_syslog.rb +14 -12
- data/app/models/fluentd/setting/in_tail.rb +7 -84
- data/app/models/fluentd/setting/out_elasticsearch.rb +12 -21
- data/app/models/fluentd/setting/out_forward.rb +22 -66
- data/app/models/fluentd/setting/out_mongo.rb +20 -26
- data/app/models/fluentd/setting/out_s3.rb +18 -30
- data/app/models/fluentd/setting/out_stdout.rb +21 -18
- data/app/models/fluentd/setting/out_tdlog.rb +35 -0
- data/app/models/fluentd/setting/parser_apache.rb +13 -0
- data/app/models/fluentd/setting/parser_apache2.rb +13 -0
- data/app/models/fluentd/setting/parser_apache_error.rb +13 -0
- data/app/models/fluentd/setting/parser_csv.rb +22 -0
- data/app/models/fluentd/setting/parser_in_http.rb +13 -0
- data/app/models/fluentd/setting/parser_json.rb +25 -0
- data/app/models/fluentd/setting/parser_ltsv.rb +30 -0
- data/app/models/fluentd/setting/parser_msgpack.rb +13 -0
- data/app/models/fluentd/setting/parser_multiline.rb +24 -0
- data/app/models/fluentd/setting/parser_nginx.rb +13 -0
- data/app/models/fluentd/setting/parser_none.rb +19 -0
- data/app/models/fluentd/setting/parser_regexp.rb +26 -0
- data/app/models/fluentd/setting/parser_syslog.rb +29 -0
- data/app/models/fluentd/setting/parser_tsv.rb +19 -0
- data/app/models/fluentd/setting/section.rb +38 -0
- data/app/models/fluentd/setting/storage_local.rb +22 -0
- data/app/models/fluentd/setting/type/array.rb +17 -0
- data/app/models/fluentd/setting/type/bool.rb +18 -0
- data/app/models/fluentd/setting/type/enum.rb +17 -0
- data/app/models/fluentd/setting/type/hash.rb +17 -0
- data/app/models/fluentd/setting/type/regexp.rb +17 -0
- data/app/models/fluentd/setting/type/section.rb +17 -0
- data/app/models/fluentd/setting/type/size.rb +17 -0
- data/app/models/fluentd/setting/type/time.rb +17 -0
- data/app/views/api/settings/_element.json.jbuilder +1 -1
- data/app/views/fluentd/settings/in_forward/_form.html.haml +16 -0
- data/app/views/fluentd/settings/in_tail/_form.html.haml +22 -29
- data/app/views/fluentd/settings/in_tail/after_file_choose.html.haml +1 -1
- data/app/views/fluentd/settings/in_tail/after_format.html.haml +4 -4
- data/app/views/fluentd/settings/in_tail/confirm.html.haml +5 -5
- data/app/views/fluentd/settings/source_and_output.html.haml +1 -1
- data/app/views/shared/_global_nav.html.erb +8 -8
- data/app/views/shared/settings/_form.html.haml +40 -9
- data/app/views/shared/settings/show.html.haml +4 -1
- data/app/views/shared/vue/_in_tail_parse.html.haml +20 -0
- data/app/views/shared/vue/_owned_plugin_form.html.haml +68 -0
- data/app/views/shared/vue/_parser_multiline_form.html.haml +19 -0
- data/app/views/shared/vue/_setting.html.erb +1 -1
- data/config/application.rb +1 -1
- data/config/environment.rb +3 -0
- data/config/initializers/types.rb +7 -0
- data/config/routes.rb +2 -1
- data/fluentd-ui.gemspec +5 -0
- data/lib/fluentd-ui/version.rb +1 -1
- data/lib/regexp_preview.rb +2 -2
- data/lib/regexp_preview/multi_line.rb +53 -63
- data/lib/regexp_preview/single_line.rb +40 -46
- data/spec/features/fluentd/setting/out_forward_spec.rb +1 -1
- data/spec/features/fluentd/setting/out_stdout_spec.rb +1 -1
- data/spec/features/{out_td_spec.rb → out_tdlog_spec.rb} +3 -3
- data/spec/lib/regexp_preview/multi_line_spec.rb +29 -34
- data/spec/lib/regexp_preview/single_line_spec.rb +89 -87
- data/spec/models/fluentd/setting/in_forward_spec.rb +75 -0
- data/spec/models/fluentd/setting/in_http_spec.rb +31 -0
- data/spec/models/fluentd/setting/in_monitor_agent_spec.rb +31 -0
- data/spec/models/fluentd/setting/in_syslog_spec.rb +65 -7
- data/spec/models/fluentd/setting/in_tail_spec.rb +47 -0
- data/spec/models/fluentd/setting/out_elasticsearch_spec.rb +31 -0
- data/spec/models/fluentd/setting/out_mongo_spec.rb +35 -12
- data/spec/models/fluentd/setting/out_s3_spec.rb +128 -0
- data/spec/models/fluentd/setting/out_stdout_spec.rb +31 -0
- data/spec/models/fluentd/setting/out_tdlog_spec.rb +47 -0
- metadata +164 -38
- data/app/controllers/fluentd/settings/out_td_controller.rb +0 -18
- data/app/helpers/fluentd/settings_helper.rb +0 -2
- data/app/javascript/packs/in_tail_format.js +0 -174
- data/app/models/fluentd/setting/common.rb +0 -185
- data/app/models/fluentd/setting/out_td.rb +0 -48
- data/app/views/shared/vue/_in_tail_format.html.erb +0 -43
- data/spec/models/fluentd/setting/common_spec.rb +0 -178
- data/spec/models/fluentd/setting/out_td_spec.rb +0 -38
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Fluentd::Setting::InTail do
|
4
|
+
let(:klass) { described_class }
|
5
|
+
let(:instance) { klass.new(valid_attributes) }
|
6
|
+
let(:valid_attributes) {
|
7
|
+
{
|
8
|
+
tag: "dummy.log",
|
9
|
+
path: "/tmp/log/dummy.log",
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
describe "#valid?" do
|
14
|
+
it "should be valid" do
|
15
|
+
params = valid_attributes.dup
|
16
|
+
klass.new(params).should be_valid
|
17
|
+
end
|
18
|
+
|
19
|
+
it "should be invalid if tag parameter is missing" do
|
20
|
+
params = valid_attributes.dup
|
21
|
+
params.delete(:tag)
|
22
|
+
klass.new(params).should_not be_valid
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should be invalid if path parameter is missing" do
|
26
|
+
params = valid_attributes.dup
|
27
|
+
params.delete(:path)
|
28
|
+
klass.new(params).should_not be_valid
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
|
33
|
+
describe "#plugin_name" do
|
34
|
+
subject { instance.plugin_name }
|
35
|
+
it { should == "tail" }
|
36
|
+
end
|
37
|
+
|
38
|
+
describe "#plugin_type" do
|
39
|
+
subject { instance.plugin_type }
|
40
|
+
it { should == "input" }
|
41
|
+
end
|
42
|
+
|
43
|
+
describe "#to_config" do
|
44
|
+
subject { instance.to_config.to_s }
|
45
|
+
it { should include("@type tail") }
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Fluentd::Setting::OutElasticsearch do
|
4
|
+
let(:klass) { described_class }
|
5
|
+
let(:instance) { klass.new(valid_attributes) }
|
6
|
+
let(:valid_attributes) {
|
7
|
+
{}
|
8
|
+
}
|
9
|
+
|
10
|
+
describe "#valid?" do
|
11
|
+
it "should be valid" do
|
12
|
+
params = valid_attributes.dup
|
13
|
+
klass.new(params).should be_valid
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
describe "#plugin_name" do
|
18
|
+
subject { instance.plugin_name }
|
19
|
+
it { should == "elasticsearch" }
|
20
|
+
end
|
21
|
+
|
22
|
+
describe "#plugin_type" do
|
23
|
+
subject { instance.plugin_type }
|
24
|
+
it { should == "output" }
|
25
|
+
end
|
26
|
+
|
27
|
+
describe "#to_config" do
|
28
|
+
subject { instance.to_config.to_s }
|
29
|
+
it { should include("@type elasticsearch") }
|
30
|
+
end
|
31
|
+
end
|
@@ -5,7 +5,7 @@ describe Fluentd::Setting::OutMongo do
|
|
5
5
|
let(:instance) { klass.new(valid_attributes) }
|
6
6
|
let(:valid_attributes) {
|
7
7
|
{
|
8
|
-
|
8
|
+
pattern: "mongo.*.*",
|
9
9
|
host: "example.com",
|
10
10
|
port: 12345,
|
11
11
|
database: "mongodb",
|
@@ -14,27 +14,50 @@ describe Fluentd::Setting::OutMongo do
|
|
14
14
|
}
|
15
15
|
|
16
16
|
describe "#valid?" do
|
17
|
-
it "should be invalid if
|
17
|
+
it "should be invalid if database parameter is missing" do
|
18
18
|
params = valid_attributes.dup
|
19
|
-
params.delete(:
|
20
|
-
klass.new(params)
|
19
|
+
params.delete(:database)
|
20
|
+
instance = klass.new(params)
|
21
|
+
instance.should_not be_valid
|
22
|
+
instance.errors.full_messages.should == ["Database can't be blank"]
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should be invalid if collection is missing" do
|
26
|
+
params = {
|
27
|
+
pattern: "mongo.*.*",
|
28
|
+
host: "example.com",
|
29
|
+
port: 12345,
|
30
|
+
database: "mongodb",
|
31
|
+
}
|
32
|
+
instance = klass.new(params)
|
33
|
+
instance.should_not be_valid
|
34
|
+
instance.errors.full_messages.should == ["Collection can't be blank"]
|
21
35
|
end
|
22
36
|
end
|
23
37
|
|
24
|
-
describe "#
|
25
|
-
subject { instance.
|
38
|
+
describe "#plugin_name" do
|
39
|
+
subject { instance.plugin_name }
|
26
40
|
it { should == "mongo" }
|
27
41
|
end
|
28
42
|
|
29
|
-
describe "#
|
30
|
-
it { instance.
|
31
|
-
it { instance.should be_output_plugin }
|
43
|
+
describe "#plugin_type" do
|
44
|
+
it { instance.plugin_type.should == "output" }
|
32
45
|
end
|
33
46
|
|
34
47
|
describe "#to_config" do
|
35
|
-
subject { instance.to_config }
|
36
|
-
|
37
|
-
|
48
|
+
subject { instance.to_config.to_s }
|
49
|
+
let(:expected) {
|
50
|
+
<<-CONFIG
|
51
|
+
<match mongo.*.*>
|
52
|
+
@type mongo
|
53
|
+
database mongodb
|
54
|
+
host example.com
|
55
|
+
port 12345
|
56
|
+
tag_mapped true
|
57
|
+
</match>
|
58
|
+
CONFIG
|
59
|
+
}
|
60
|
+
it { should == expected}
|
38
61
|
end
|
39
62
|
end
|
40
63
|
|
@@ -0,0 +1,128 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Fluentd::Setting::OutS3 do
|
4
|
+
let(:klass) { described_class }
|
5
|
+
let(:instance) { klass.new(valid_attributes) }
|
6
|
+
let(:valid_attributes) {
|
7
|
+
{
|
8
|
+
s3_bucket: "bucketname"
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
describe "#valid?" do
|
13
|
+
it "should be valid" do
|
14
|
+
params = valid_attributes.dup
|
15
|
+
instance = klass.new(params)
|
16
|
+
instance.should be_valid
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
describe "#invalid?" do
|
21
|
+
it "should be invalid if s3_bucket parameter is missing" do
|
22
|
+
params = valid_attributes.dup
|
23
|
+
params.delete(:s3_bucket)
|
24
|
+
instance = klass.new(params)
|
25
|
+
instance.should be_invalid
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
describe "#plugin_name" do
|
30
|
+
subject { instance.plugin_name }
|
31
|
+
it { should == "s3" }
|
32
|
+
end
|
33
|
+
|
34
|
+
describe "#plugin_type" do
|
35
|
+
subject { instance.plugin_type }
|
36
|
+
it { should == "output" }
|
37
|
+
end
|
38
|
+
|
39
|
+
describe "#to_config" do
|
40
|
+
subject { instance.to_config.to_s }
|
41
|
+
it { should include("@type s3") }
|
42
|
+
end
|
43
|
+
|
44
|
+
describe "with assume_role_credentials" do
|
45
|
+
let(:valid_attributes) {
|
46
|
+
{
|
47
|
+
pattern: "s3.*",
|
48
|
+
s3_bucket: "bucketname",
|
49
|
+
assume_role_credentials: {
|
50
|
+
"0" => {
|
51
|
+
role_arn: "arn",
|
52
|
+
role_session_name: "session_name",
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
let(:expected) {
|
58
|
+
<<-CONFIG
|
59
|
+
<match s3.*>
|
60
|
+
@type s3
|
61
|
+
s3_bucket bucketname
|
62
|
+
<assume_role_credentials>
|
63
|
+
role_arn arn
|
64
|
+
role_session_name session_name
|
65
|
+
</assume_role_credentials>
|
66
|
+
</match>
|
67
|
+
CONFIG
|
68
|
+
}
|
69
|
+
subject { instance.to_config.to_s }
|
70
|
+
it { should == expected }
|
71
|
+
end
|
72
|
+
|
73
|
+
describe "with instance_profile_credentials" do
|
74
|
+
let(:valid_attributes) {
|
75
|
+
{
|
76
|
+
pattern: "s3.*",
|
77
|
+
s3_bucket: "bucketname",
|
78
|
+
instance_profile_credentials: {
|
79
|
+
"0" => {
|
80
|
+
port: 80
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
let(:expected) {
|
86
|
+
<<-CONFIG
|
87
|
+
<match s3.*>
|
88
|
+
@type s3
|
89
|
+
s3_bucket bucketname
|
90
|
+
<instance_profile_credentials>
|
91
|
+
port 80
|
92
|
+
</instance_profile_credentials>
|
93
|
+
</match>
|
94
|
+
CONFIG
|
95
|
+
}
|
96
|
+
subject { instance.to_config.to_s }
|
97
|
+
it { should == expected }
|
98
|
+
end
|
99
|
+
|
100
|
+
describe "with shared_credentials" do
|
101
|
+
let(:valid_attributes) {
|
102
|
+
{
|
103
|
+
pattern: "s3.*",
|
104
|
+
s3_bucket: "bucketname",
|
105
|
+
shared_credentials: {
|
106
|
+
"0" => {
|
107
|
+
path: "$HOME/.aws/credentials",
|
108
|
+
profile_name: "default",
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
let(:expected) {
|
114
|
+
<<-CONFIG
|
115
|
+
<match s3.*>
|
116
|
+
@type s3
|
117
|
+
s3_bucket bucketname
|
118
|
+
<shared_credentials>
|
119
|
+
path $HOME/.aws/credentials
|
120
|
+
profile_name default
|
121
|
+
</shared_credentials>
|
122
|
+
</match>
|
123
|
+
CONFIG
|
124
|
+
}
|
125
|
+
subject { instance.to_config.to_s }
|
126
|
+
it { should == expected }
|
127
|
+
end
|
128
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Fluentd::Setting::OutStdout do
|
4
|
+
let(:klass) { described_class }
|
5
|
+
let(:instance) { klass.new(valid_attributes) }
|
6
|
+
let(:valid_attributes) {
|
7
|
+
{}
|
8
|
+
}
|
9
|
+
|
10
|
+
describe "#valid?" do
|
11
|
+
it "should be valid" do
|
12
|
+
params = valid_attributes.dup
|
13
|
+
klass.new(params).should be_valid
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
describe "#plugin_name" do
|
18
|
+
subject { instance.plugin_name }
|
19
|
+
it { should == "stdout" }
|
20
|
+
end
|
21
|
+
|
22
|
+
describe "#plugin_type" do
|
23
|
+
subject { instance.plugin_type }
|
24
|
+
it { should == "output" }
|
25
|
+
end
|
26
|
+
|
27
|
+
describe "#to_config" do
|
28
|
+
subject { instance.to_config.to_s }
|
29
|
+
it { should include("@type stdout") }
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Fluentd::Setting::OutTdlog do
|
4
|
+
let(:klass) { described_class }
|
5
|
+
let(:instance) { klass.new(valid_attributes) }
|
6
|
+
let(:valid_attributes) {
|
7
|
+
{
|
8
|
+
pattern: "td.*.*",
|
9
|
+
apikey: "APIKEY",
|
10
|
+
auto_create_table: "true",
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
describe "#valid?" do
|
15
|
+
it "should be invalid if apikey is missing" do
|
16
|
+
params = valid_attributes.dup
|
17
|
+
params.delete(:apikey)
|
18
|
+
instance = klass.new(params)
|
19
|
+
instance.should_not be_valid
|
20
|
+
instance.errors.full_messages.should == ["Apikey can't be blank"]
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
describe "#plugin_name" do
|
25
|
+
subject { instance.plugin_name }
|
26
|
+
it { should == "tdlog" }
|
27
|
+
end
|
28
|
+
|
29
|
+
describe "#plugin_type" do
|
30
|
+
subject { instance.plugin_type }
|
31
|
+
it { should == "output" }
|
32
|
+
end
|
33
|
+
|
34
|
+
describe "#to_config" do
|
35
|
+
subject { instance.to_config.to_s }
|
36
|
+
let(:expected) {
|
37
|
+
<<-CONFIG
|
38
|
+
<match td.*.*>
|
39
|
+
@type tdlog
|
40
|
+
apikey APIKEY
|
41
|
+
auto_create_table true
|
42
|
+
</match>
|
43
|
+
CONFIG
|
44
|
+
}
|
45
|
+
it { should == expected }
|
46
|
+
end
|
47
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluentd-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.alpha.
|
4
|
+
version: 1.0.0.alpha.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro Nakagawa
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-06-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|
@@ -297,6 +297,62 @@ dependencies:
|
|
297
297
|
- - ">="
|
298
298
|
- !ruby/object:Gem::Version
|
299
299
|
version: '0'
|
300
|
+
- !ruby/object:Gem::Dependency
|
301
|
+
name: fluent-plugin-td
|
302
|
+
requirement: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - "~>"
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '1.0'
|
307
|
+
type: :runtime
|
308
|
+
prerelease: false
|
309
|
+
version_requirements: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - "~>"
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: '1.0'
|
314
|
+
- !ruby/object:Gem::Dependency
|
315
|
+
name: fluent-plugin-mongo
|
316
|
+
requirement: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - "~>"
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: '1.1'
|
321
|
+
type: :runtime
|
322
|
+
prerelease: false
|
323
|
+
version_requirements: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - "~>"
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: '1.1'
|
328
|
+
- !ruby/object:Gem::Dependency
|
329
|
+
name: fluent-plugin-elasticsearch
|
330
|
+
requirement: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - "~>"
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: '2.10'
|
335
|
+
type: :runtime
|
336
|
+
prerelease: false
|
337
|
+
version_requirements: !ruby/object:Gem::Requirement
|
338
|
+
requirements:
|
339
|
+
- - "~>"
|
340
|
+
- !ruby/object:Gem::Version
|
341
|
+
version: '2.10'
|
342
|
+
- !ruby/object:Gem::Dependency
|
343
|
+
name: fluent-plugin-s3
|
344
|
+
requirement: !ruby/object:Gem::Requirement
|
345
|
+
requirements:
|
346
|
+
- - "~>"
|
347
|
+
- !ruby/object:Gem::Version
|
348
|
+
version: '1.1'
|
349
|
+
type: :runtime
|
350
|
+
prerelease: false
|
351
|
+
version_requirements: !ruby/object:Gem::Requirement
|
352
|
+
requirements:
|
353
|
+
- - "~>"
|
354
|
+
- !ruby/object:Gem::Version
|
355
|
+
version: '1.1'
|
300
356
|
description: Web UI for Fluentd
|
301
357
|
email:
|
302
358
|
- repeatedly@gmail.com
|
@@ -324,6 +380,7 @@ files:
|
|
324
380
|
- app/assets/javascripts/tutorial.js
|
325
381
|
- app/assets/stylesheets/application.css
|
326
382
|
- app/assets/stylesheets/common.css.scss
|
383
|
+
- app/controllers/api/config_definitions_controller.rb
|
327
384
|
- app/controllers/api/settings_controller.rb
|
328
385
|
- app/controllers/api_controller.rb
|
329
386
|
- app/controllers/application_controller.rb
|
@@ -343,7 +400,7 @@ files:
|
|
343
400
|
- app/controllers/fluentd/settings/out_mongo_controller.rb
|
344
401
|
- app/controllers/fluentd/settings/out_s3_controller.rb
|
345
402
|
- app/controllers/fluentd/settings/out_stdout_controller.rb
|
346
|
-
- app/controllers/fluentd/settings/
|
403
|
+
- app/controllers/fluentd/settings/out_tdlog_controller.rb
|
347
404
|
- app/controllers/fluentd/settings/running_backup_controller.rb
|
348
405
|
- app/controllers/fluentd/settings_controller.rb
|
349
406
|
- app/controllers/fluentd_controller.rb
|
@@ -355,15 +412,18 @@ files:
|
|
355
412
|
- app/controllers/users_controller.rb
|
356
413
|
- app/controllers/welcome_controller.rb
|
357
414
|
- app/decorators/plugin_decorator.rb
|
415
|
+
- app/form_builders/fluentd_form_builder.rb
|
358
416
|
- app/helpers/application_helper.rb
|
359
|
-
- app/helpers/fluentd/settings_helper.rb
|
360
417
|
- app/helpers/settings_helper.rb
|
361
418
|
- app/javascript/packs/application.js
|
362
419
|
- app/javascript/packs/codemirror.js
|
363
420
|
- app/javascript/packs/fluent_log.js
|
364
|
-
- app/javascript/packs/
|
421
|
+
- app/javascript/packs/in_tail_parse.js
|
365
422
|
- app/javascript/packs/nested_settings.js
|
366
423
|
- app/javascript/packs/notification.js
|
424
|
+
- app/javascript/packs/owned_plugin_form.js
|
425
|
+
- app/javascript/packs/parser_multiline_form.js
|
426
|
+
- app/javascript/packs/plugin_setting.js
|
367
427
|
- app/javascript/packs/settings.js
|
368
428
|
- app/javascript/packs/treeview.js
|
369
429
|
- app/javascript/stylesheets/application.scss
|
@@ -377,6 +437,13 @@ files:
|
|
377
437
|
- app/mailers/.keep
|
378
438
|
- app/models/.keep
|
379
439
|
- app/models/concerns/.keep
|
440
|
+
- app/models/concerns/fluentd/setting/configurable.rb
|
441
|
+
- app/models/concerns/fluentd/setting/pattern.rb
|
442
|
+
- app/models/concerns/fluentd/setting/plugin.rb
|
443
|
+
- app/models/concerns/fluentd/setting/plugin_config.rb
|
444
|
+
- app/models/concerns/fluentd/setting/plugin_parameter.rb
|
445
|
+
- app/models/concerns/fluentd/setting/section_parser.rb
|
446
|
+
- app/models/concerns/fluentd/setting/section_validator.rb
|
380
447
|
- app/models/concerns/fluentd/setting_archive/archivable.rb
|
381
448
|
- app/models/fluent_gem.rb
|
382
449
|
- app/models/fluentd.rb
|
@@ -389,8 +456,18 @@ files:
|
|
389
456
|
- app/models/fluentd/agent/td_agent/macosx.rb
|
390
457
|
- app/models/fluentd/agent/td_agent/unix.rb
|
391
458
|
- app/models/fluentd/setting.rb
|
392
|
-
- app/models/fluentd/setting/
|
459
|
+
- app/models/fluentd/setting/buffer_file.rb
|
460
|
+
- app/models/fluentd/setting/buffer_memory.rb
|
393
461
|
- app/models/fluentd/setting/config.rb
|
462
|
+
- app/models/fluentd/setting/formatter_csv.rb
|
463
|
+
- app/models/fluentd/setting/formatter_hash.rb
|
464
|
+
- app/models/fluentd/setting/formatter_json.rb
|
465
|
+
- app/models/fluentd/setting/formatter_ltsv.rb
|
466
|
+
- app/models/fluentd/setting/formatter_msgpack.rb
|
467
|
+
- app/models/fluentd/setting/formatter_out_file.rb
|
468
|
+
- app/models/fluentd/setting/formatter_single_value.rb
|
469
|
+
- app/models/fluentd/setting/formatter_stdout.rb
|
470
|
+
- app/models/fluentd/setting/formatter_tsv.rb
|
394
471
|
- app/models/fluentd/setting/in_forward.rb
|
395
472
|
- app/models/fluentd/setting/in_http.rb
|
396
473
|
- app/models/fluentd/setting/in_monitor_agent.rb
|
@@ -401,7 +478,31 @@ files:
|
|
401
478
|
- app/models/fluentd/setting/out_mongo.rb
|
402
479
|
- app/models/fluentd/setting/out_s3.rb
|
403
480
|
- app/models/fluentd/setting/out_stdout.rb
|
404
|
-
- app/models/fluentd/setting/
|
481
|
+
- app/models/fluentd/setting/out_tdlog.rb
|
482
|
+
- app/models/fluentd/setting/parser_apache.rb
|
483
|
+
- app/models/fluentd/setting/parser_apache2.rb
|
484
|
+
- app/models/fluentd/setting/parser_apache_error.rb
|
485
|
+
- app/models/fluentd/setting/parser_csv.rb
|
486
|
+
- app/models/fluentd/setting/parser_in_http.rb
|
487
|
+
- app/models/fluentd/setting/parser_json.rb
|
488
|
+
- app/models/fluentd/setting/parser_ltsv.rb
|
489
|
+
- app/models/fluentd/setting/parser_msgpack.rb
|
490
|
+
- app/models/fluentd/setting/parser_multiline.rb
|
491
|
+
- app/models/fluentd/setting/parser_nginx.rb
|
492
|
+
- app/models/fluentd/setting/parser_none.rb
|
493
|
+
- app/models/fluentd/setting/parser_regexp.rb
|
494
|
+
- app/models/fluentd/setting/parser_syslog.rb
|
495
|
+
- app/models/fluentd/setting/parser_tsv.rb
|
496
|
+
- app/models/fluentd/setting/section.rb
|
497
|
+
- app/models/fluentd/setting/storage_local.rb
|
498
|
+
- app/models/fluentd/setting/type/array.rb
|
499
|
+
- app/models/fluentd/setting/type/bool.rb
|
500
|
+
- app/models/fluentd/setting/type/enum.rb
|
501
|
+
- app/models/fluentd/setting/type/hash.rb
|
502
|
+
- app/models/fluentd/setting/type/regexp.rb
|
503
|
+
- app/models/fluentd/setting/type/section.rb
|
504
|
+
- app/models/fluentd/setting/type/size.rb
|
505
|
+
- app/models/fluentd/setting/type/time.rb
|
405
506
|
- app/models/fluentd/setting_archive/backup_file.rb
|
406
507
|
- app/models/fluentd/setting_archive/note.rb
|
407
508
|
- app/models/fluentd_log.rb
|
@@ -421,6 +522,7 @@ files:
|
|
421
522
|
- app/views/fluentd/settings/histories/_list.html.haml
|
422
523
|
- app/views/fluentd/settings/histories/index.html.haml
|
423
524
|
- app/views/fluentd/settings/histories/show.html.haml
|
525
|
+
- app/views/fluentd/settings/in_forward/_form.html.haml
|
424
526
|
- app/views/fluentd/settings/in_tail/_form.html.haml
|
425
527
|
- app/views/fluentd/settings/in_tail/after_file_choose.html.haml
|
426
528
|
- app/views/fluentd/settings/in_tail/after_format.html.haml
|
@@ -449,8 +551,10 @@ files:
|
|
449
551
|
- app/views/shared/settings/_form.html.haml
|
450
552
|
- app/views/shared/settings/show.html.haml
|
451
553
|
- app/views/shared/vue/_fluent_log.html.erb
|
452
|
-
- app/views/shared/vue/
|
554
|
+
- app/views/shared/vue/_in_tail_parse.html.haml
|
453
555
|
- app/views/shared/vue/_notification.html.erb
|
556
|
+
- app/views/shared/vue/_owned_plugin_form.html.haml
|
557
|
+
- app/views/shared/vue/_parser_multiline_form.html.haml
|
454
558
|
- app/views/shared/vue/_setting.html.erb
|
455
559
|
- app/views/shared/vue/_treeview.html.erb
|
456
560
|
- app/views/tutorials/chapter1.html.erb
|
@@ -491,6 +595,7 @@ files:
|
|
491
595
|
- config/initializers/new_framework_defaults_5_2.rb
|
492
596
|
- config/initializers/prefetch_gem_updates.rb
|
493
597
|
- config/initializers/session_store.rb
|
598
|
+
- config/initializers/types.rb
|
494
599
|
- config/initializers/wrap_parameters.rb
|
495
600
|
- config/locales/en.yml
|
496
601
|
- config/locales/ja.yml
|
@@ -553,34 +658,43 @@ files:
|
|
553
658
|
- public/fluentd-logo-right-text.png
|
554
659
|
- public/fluentd-logo.png
|
555
660
|
- public/fluentd.png
|
556
|
-
- public/packs/application-
|
557
|
-
- public/packs/application-
|
558
|
-
- public/packs/application-
|
661
|
+
- public/packs/application-3f916ccb17fbe565e2e0.js
|
662
|
+
- public/packs/application-3f916ccb17fbe565e2e0.js.gz
|
663
|
+
- public/packs/application-3f916ccb17fbe565e2e0.js.map
|
559
664
|
- public/packs/application-d41d8cd98f00b204e9800998ecf8427e.css
|
560
665
|
- public/packs/application-d41d8cd98f00b204e9800998ecf8427e.css.map
|
561
|
-
- public/packs/codemirror-
|
562
|
-
- public/packs/codemirror-
|
563
|
-
- public/packs/codemirror-
|
564
|
-
- public/packs/fluent_log-
|
565
|
-
- public/packs/fluent_log-
|
566
|
-
- public/packs/fluent_log-
|
567
|
-
- public/packs/
|
568
|
-
- public/packs/
|
569
|
-
- public/packs/
|
666
|
+
- public/packs/codemirror-041ca43e0b5b8c8fd229.js
|
667
|
+
- public/packs/codemirror-041ca43e0b5b8c8fd229.js.gz
|
668
|
+
- public/packs/codemirror-041ca43e0b5b8c8fd229.js.map
|
669
|
+
- public/packs/fluent_log-5ae2f8a6f0a00f5c5269.js
|
670
|
+
- public/packs/fluent_log-5ae2f8a6f0a00f5c5269.js.gz
|
671
|
+
- public/packs/fluent_log-5ae2f8a6f0a00f5c5269.js.map
|
672
|
+
- public/packs/in_tail_parse-bd6d9909edb67fc2679d.js
|
673
|
+
- public/packs/in_tail_parse-bd6d9909edb67fc2679d.js.gz
|
674
|
+
- public/packs/in_tail_parse-bd6d9909edb67fc2679d.js.map
|
570
675
|
- public/packs/manifest.json
|
571
676
|
- public/packs/manifest.json.gz
|
572
|
-
- public/packs/nested_settings-
|
573
|
-
- public/packs/nested_settings-
|
574
|
-
- public/packs/nested_settings-
|
575
|
-
- public/packs/notification-
|
576
|
-
- public/packs/notification-
|
577
|
-
- public/packs/notification-
|
578
|
-
- public/packs/
|
579
|
-
- public/packs/
|
580
|
-
- public/packs/
|
581
|
-
- public/packs/
|
582
|
-
- public/packs/
|
583
|
-
- public/packs/
|
677
|
+
- public/packs/nested_settings-f3419e02d29deef26a0b.js
|
678
|
+
- public/packs/nested_settings-f3419e02d29deef26a0b.js.gz
|
679
|
+
- public/packs/nested_settings-f3419e02d29deef26a0b.js.map
|
680
|
+
- public/packs/notification-c0a8f5aab7c22b5b0883.js
|
681
|
+
- public/packs/notification-c0a8f5aab7c22b5b0883.js.gz
|
682
|
+
- public/packs/notification-c0a8f5aab7c22b5b0883.js.map
|
683
|
+
- public/packs/owned_plugin_form-e9fdd3c56d889df5dc9c.js
|
684
|
+
- public/packs/owned_plugin_form-e9fdd3c56d889df5dc9c.js.gz
|
685
|
+
- public/packs/owned_plugin_form-e9fdd3c56d889df5dc9c.js.map
|
686
|
+
- public/packs/parser_multiline_form-e3a5a75e7ff674412a69.js
|
687
|
+
- public/packs/parser_multiline_form-e3a5a75e7ff674412a69.js.gz
|
688
|
+
- public/packs/parser_multiline_form-e3a5a75e7ff674412a69.js.map
|
689
|
+
- public/packs/plugin_setting-b81359fe41b042b4f508.js
|
690
|
+
- public/packs/plugin_setting-b81359fe41b042b4f508.js.gz
|
691
|
+
- public/packs/plugin_setting-b81359fe41b042b4f508.js.map
|
692
|
+
- public/packs/settings-2ee0ee40542bd3614bf8.js
|
693
|
+
- public/packs/settings-2ee0ee40542bd3614bf8.js.gz
|
694
|
+
- public/packs/settings-2ee0ee40542bd3614bf8.js.map
|
695
|
+
- public/packs/treeview-8f2fa05fb5d2f9a3e5e1.js
|
696
|
+
- public/packs/treeview-8f2fa05fb5d2f9a3e5e1.js.gz
|
697
|
+
- public/packs/treeview-8f2fa05fb5d2f9a3e5e1.js.map
|
584
698
|
- public/robots.txt
|
585
699
|
- public/td-logo.png
|
586
700
|
- spec/controllers/application_controller_spec.rb
|
@@ -605,7 +719,7 @@ files:
|
|
605
719
|
- spec/features/fluentd_ui_update_available_spec.rb
|
606
720
|
- spec/features/out_elasticsearch_spec.rb
|
607
721
|
- spec/features/out_forward_spec.rb
|
608
|
-
- spec/features/
|
722
|
+
- spec/features/out_tdlog_spec.rb
|
609
723
|
- spec/features/sessions_spec.rb
|
610
724
|
- spec/features/setting_spec.rb
|
611
725
|
- spec/features/shared_examples/configurable_daemon_settings.rb
|
@@ -620,10 +734,16 @@ files:
|
|
620
734
|
- spec/models/fluent_gem_spec.rb
|
621
735
|
- spec/models/fluentd/agent/common_spec.rb
|
622
736
|
- spec/models/fluentd/agent_spec.rb
|
623
|
-
- spec/models/fluentd/setting/
|
737
|
+
- spec/models/fluentd/setting/in_forward_spec.rb
|
738
|
+
- spec/models/fluentd/setting/in_http_spec.rb
|
739
|
+
- spec/models/fluentd/setting/in_monitor_agent_spec.rb
|
624
740
|
- spec/models/fluentd/setting/in_syslog_spec.rb
|
741
|
+
- spec/models/fluentd/setting/in_tail_spec.rb
|
742
|
+
- spec/models/fluentd/setting/out_elasticsearch_spec.rb
|
625
743
|
- spec/models/fluentd/setting/out_mongo_spec.rb
|
626
|
-
- spec/models/fluentd/setting/
|
744
|
+
- spec/models/fluentd/setting/out_s3_spec.rb
|
745
|
+
- spec/models/fluentd/setting/out_stdout_spec.rb
|
746
|
+
- spec/models/fluentd/setting/out_tdlog_spec.rb
|
627
747
|
- spec/models/fluentd_log_spec.rb
|
628
748
|
- spec/models/fluentd_spec.rb
|
629
749
|
- spec/models/plugin_spec.rb
|
@@ -702,7 +822,7 @@ test_files:
|
|
702
822
|
- spec/features/fluentd_ui_update_available_spec.rb
|
703
823
|
- spec/features/out_elasticsearch_spec.rb
|
704
824
|
- spec/features/out_forward_spec.rb
|
705
|
-
- spec/features/
|
825
|
+
- spec/features/out_tdlog_spec.rb
|
706
826
|
- spec/features/sessions_spec.rb
|
707
827
|
- spec/features/setting_spec.rb
|
708
828
|
- spec/features/shared_examples/configurable_daemon_settings.rb
|
@@ -717,10 +837,16 @@ test_files:
|
|
717
837
|
- spec/models/fluent_gem_spec.rb
|
718
838
|
- spec/models/fluentd/agent/common_spec.rb
|
719
839
|
- spec/models/fluentd/agent_spec.rb
|
720
|
-
- spec/models/fluentd/setting/
|
840
|
+
- spec/models/fluentd/setting/in_forward_spec.rb
|
841
|
+
- spec/models/fluentd/setting/in_http_spec.rb
|
842
|
+
- spec/models/fluentd/setting/in_monitor_agent_spec.rb
|
721
843
|
- spec/models/fluentd/setting/in_syslog_spec.rb
|
844
|
+
- spec/models/fluentd/setting/in_tail_spec.rb
|
845
|
+
- spec/models/fluentd/setting/out_elasticsearch_spec.rb
|
722
846
|
- spec/models/fluentd/setting/out_mongo_spec.rb
|
723
|
-
- spec/models/fluentd/setting/
|
847
|
+
- spec/models/fluentd/setting/out_s3_spec.rb
|
848
|
+
- spec/models/fluentd/setting/out_stdout_spec.rb
|
849
|
+
- spec/models/fluentd/setting/out_tdlog_spec.rb
|
724
850
|
- spec/models/fluentd_log_spec.rb
|
725
851
|
- spec/models/fluentd_spec.rb
|
726
852
|
- spec/models/plugin_spec.rb
|