fluent-plugin-elastic-log 0.4.0 → 0.4.1
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: '08f18d938d7e838acc560c6857affc1821290a66bb4c9a203e039ca75de0b1db'
|
4
|
+
data.tar.gz: 3be561a99555350c031f26d0b1d97de9162a8deee8d32eb2dfb3c41e4008957a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41dc18b2e54f6d852caca69fffacce7ffed2cdf8a46dcbde37f4b9b0120940fd680a535178fbef331b669b9c60ba0154b87596bba741b35fa6d9abce22a361fa
|
7
|
+
data.tar.gz: b344dc9bf21982ff52a81b0ad0e395969f5e1d9e52efee63e75042d9a0b9a7c29313410a91c19f62d00fe15e5921ee9f1e0a47668017aa4f034be50393a9ad16
|
@@ -22,7 +22,7 @@ module Fluent
|
|
22
22
|
next unless conf.categories.include? category
|
23
23
|
|
24
24
|
new_records = send("generate_#{category.downcase}_metrics_for", record)
|
25
|
-
new_records
|
25
|
+
new_records&.each { |new_record| metric_es.add(time, new_record) }
|
26
26
|
end
|
27
27
|
metric_es
|
28
28
|
end
|
@@ -31,7 +31,7 @@ module Fluent
|
|
31
31
|
|
32
32
|
# rubocop:disable Metrics/AbcSize
|
33
33
|
def generate_granted_privileges_metrics_for(record)
|
34
|
-
return unless record[conf.privilege_key]
|
34
|
+
return [] unless record[conf.privilege_key]
|
35
35
|
|
36
36
|
GrantedPrivilegesMetric.new(
|
37
37
|
record: {
|
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.4.
|
4
|
+
version: 0.4.1
|
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-06-
|
11
|
+
date: 2023-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bump
|