fluent-plugin-nsq 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fluent/plugin/out_nsq.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODc2NjIxMzUyYWVmZDY1MDYyMTk0ODQwMDczNjE3ZDM0Y2QxNzA1Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTFmYjVkODU5M2VkYjg2MzFmYjY5YjM0MWUzZTc0ZTdlYWQ0NzNhOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTkwMzgyMjc4NTlhM2ZkYjE5N2JlMzFjNDQxZWFjZDNlYjcyNDZhM2FmM2E4
|
10
|
+
ZTJhMGIwMDc5ZGQyYTE5MjY1YWNhMmMxNWRkMWJiYjIyNDllMzFiNmY5MTA2
|
11
|
+
NjQ2MWI1YzBjYzkwYzAyNzAzMDdmNDkyYzNjYzY1NjIxMWQ2ZTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGFiMzg0N2ZiYzJmOGRkM2Y3ZTIwZWEwYTE5NmYxM2FkZDRlNzdjZTEzM2Zj
|
14
|
+
NjFiM2YyM2M3ZDRhZDI5NzA5NGIxNjI5NTU4NzU5NGFmNmM2YTQ4MDRlMjky
|
15
|
+
ZWRkMjcyMzg0ZWU5YTIzOGUxODMyNDZiN2VmZTcxMzE0ZmRkZjE=
|
@@ -44,8 +44,9 @@ module Fluent
|
|
44
44
|
next unless record.is_a? Hash
|
45
45
|
# TODO get rid of this extra copy
|
46
46
|
tagged_record = record.merge(
|
47
|
-
_key
|
48
|
-
_ts
|
47
|
+
:_key => tag,
|
48
|
+
:_ts => time,
|
49
|
+
:'@timestamp' => Time.at(time).to_datetime.to_s # kibana/elasticsearch friendly
|
49
50
|
)
|
50
51
|
@producer.write(tagged_record.to_json)
|
51
52
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-nsq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lxfontes
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-11-
|
12
|
+
date: 2014-11-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|