fluent-plugin-elastic-log 0.5.0 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e16830d4cb485b78076e82a3eb54345f17c9d04858b4c54577ef6c9bfb505a2
|
4
|
+
data.tar.gz: ccf19e1fc0ddb3631b921d35fef3d9d946c8d71f26b3f67083857407f664b9f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e71ee031d93657978f1098641c7ca39ca3e34f2be9e6d4dc29526f6a961a31b4be3096871144dc425495588ae20b7aa17b7bfa46624cb42c2d485f75a68f30bd
|
7
|
+
data.tar.gz: cf43d3ec80f36df15f28fcd89d53f443fea7b03d7607e3ff2b74d06320078560e7ebbd0464781f9b5b023211fa4d2060104b6904559398d24d70f6692ebd7d2e
|
@@ -74,7 +74,8 @@ module Fluent
|
|
74
74
|
|
75
75
|
req_body.each_line.each_slice(2).with_object(Set.new) do |(cmd_line, _data_line), acc|
|
76
76
|
cmd = JSON.parse(cmd_line)
|
77
|
-
|
77
|
+
index = cmd['index']
|
78
|
+
[index].flatten.each { |index_i| acc << aggregate_index(index_i) }
|
78
79
|
end
|
79
80
|
end
|
80
81
|
|
@@ -92,7 +93,7 @@ module Fluent
|
|
92
93
|
when 'msearch' then msearch_indices
|
93
94
|
else []
|
94
95
|
end
|
95
|
-
indices << query_index if query_index || indices.empty?
|
96
|
+
indices << aggregate_index(query_index) if query_index || indices.empty?
|
96
97
|
|
97
98
|
indices.inject([]) do |metrics, index|
|
98
99
|
metrics << base.merge("#{conf.prefix}index" => index,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-elastic-log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Tych
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bump
|