fluent-plugin-elasticsearch-timestamp-check 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 5b5110d2d7f9ead5fa29dfac4bcfb437c0bc8224beaaef3a4dc0e4b9aea65903
|
|
4
|
+
data.tar.gz: 48969cf63eb856e576ce0d928403b02c369e0e9dd089baace0fb0abd7f3eb376
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c5b95db8961d6f0ef563982ff67dae7c6e517767ba5d712010231b7832ecbacef397f0405211ec9cb2062ba3257cdb04b01f6e50438e734f5a2f013bdc40276
|
|
7
|
+
data.tar.gz: fd418940aa39d78be9c40873d04aa9c6cce5feb47dfbe2eef5250ba89d4bf1564dfcd18d24cd37db3ad0f16535fc360e74468d4a4b5d12bb33d31930d9be14b4
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |spec|
|
|
2
2
|
spec.name = "fluent-plugin-elasticsearch-timestamp-check"
|
|
3
|
-
spec.version = "0.3.
|
|
3
|
+
spec.version = "0.3.1"
|
|
4
4
|
spec.authors = ["Richard Li"]
|
|
5
5
|
spec.email = ["evilcat@wisewolfsolutions.com"]
|
|
6
6
|
spec.description = %q{fluent filter plugin to ensure @timestamp is in proper format}
|
|
@@ -65,7 +65,7 @@ module Fluent::Plugin
|
|
|
65
65
|
|
|
66
66
|
unless record['fluent_converted_timestamp']
|
|
67
67
|
record['@timestamp'] = record['fluent_added_timestamp'] =
|
|
68
|
-
Time.at(time.is_a?(Fluent::EventTime) ? time.
|
|
68
|
+
Time.at(time.is_a?(Fluent::EventTime) ? time.to_r : time).strftime(@strftime_format)
|
|
69
69
|
$log.debug("Timestamp added: #{record['@timestamp']}")
|
|
70
70
|
end
|
|
71
71
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-elasticsearch-timestamp-check
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Li
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|
|
@@ -107,8 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
107
107
|
- !ruby/object:Gem::Version
|
|
108
108
|
version: '0'
|
|
109
109
|
requirements: []
|
|
110
|
-
|
|
111
|
-
rubygems_version: 2.6.14
|
|
110
|
+
rubygems_version: 3.0.3
|
|
112
111
|
signing_key:
|
|
113
112
|
specification_version: 4
|
|
114
113
|
summary: fluent timestamp checker filter
|