fluent-plugin-elastic-log 0.5.2 → 0.5.3

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: 3e16830d4cb485b78076e82a3eb54345f17c9d04858b4c54577ef6c9bfb505a2
4
- data.tar.gz: ccf19e1fc0ddb3631b921d35fef3d9d946c8d71f26b3f67083857407f664b9f3
3
+ metadata.gz: 2fb32147eab2de3f573ed8aca82b685b7c709036ec44e4f9d4f0051a3fd09ab2
4
+ data.tar.gz: d1468e6373e6ba82569e4f2a41aba725aab2f28d724171fc78e57f330d2298e6
5
5
  SHA512:
6
- metadata.gz: e71ee031d93657978f1098641c7ca39ca3e34f2be9e6d4dc29526f6a961a31b4be3096871144dc425495588ae20b7aa17b7bfa46624cb42c2d485f75a68f30bd
7
- data.tar.gz: cf43d3ec80f36df15f28fcd89d53f443fea7b03d7607e3ff2b74d06320078560e7ebbd0464781f9b5b023211fa4d2060104b6904559398d24d70f6692ebd7d2e
6
+ metadata.gz: f7809d4b5832cfb4eb5d4dbb604ec725d64a975894fe098ae06b82844e0f4b61616156a84647920aa7d31ce6976a45fb1839262df3154e71f0d3b537e72fb77f
7
+ data.tar.gz: 52e1d72ba4d82497140779435c81ecc3f74ef8c449e31d9d2620b65af14929a5ec44cd0651de1e7e30e3a23e795a8cf256484b6e435649302cacaece87fcc179
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'fluent-plugin-elastic-log'
8
- spec.version = '0.5.2'
8
+ spec.version = '0.5.3'
9
9
  spec.authors = ['Thomas Tych']
10
10
  spec.email = ['thomas.tych@gmail.com']
11
11
 
@@ -59,7 +59,7 @@ module Fluent
59
59
  end
60
60
 
61
61
  def bulk_indices
62
- req_body = record.fetch(:request_body, {})
62
+ req_body = record[:request_body] || {}
63
63
  return [] if req_body.empty?
64
64
 
65
65
  req_body.each_line.each_slice(2).with_object(Set.new) do |(cmd_line, _data_line), acc|
@@ -69,7 +69,7 @@ module Fluent
69
69
  end
70
70
 
71
71
  def msearch_indices
72
- req_body = record.fetch(:request_body, {})
72
+ req_body = record[:request_body] || {}
73
73
  return [] if req_body.empty?
74
74
 
75
75
  req_body.each_line.each_slice(2).with_object(Set.new) do |(cmd_line, _data_line), acc|
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.2
4
+ version: 0.5.3
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-09-11 00:00:00.000000000 Z
11
+ date: 2024-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bump
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  requirements: []
189
- rubygems_version: 3.1.6
189
+ rubygems_version: 3.5.11
190
190
  signing_key:
191
191
  specification_version: 4
192
192
  summary: fluentd plugins to process elastic logs.'