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.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/fluent/plugin/out_nsq.rb +3 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Y2FiMjIzZjY5MjQwNTcyMjM1YWU3NWEwMzUwNWIwMDQzMTU1Y2I3ZQ==
4
+ ODc2NjIxMzUyYWVmZDY1MDYyMTk0ODQwMDczNjE3ZDM0Y2QxNzA1Yg==
5
5
  data.tar.gz: !binary |-
6
- MTZkNDBmYWIwYjNlMjQwYmI1OThlMDA0OTAzYjA1Y2EzYzY0MTYxNA==
6
+ MTFmYjVkODU5M2VkYjg2MzFmYjY5YjM0MWUzZTc0ZTdlYWQ0NzNhOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YWE1MjkyM2FmZTFiMTViNjMxZGE2NTlhYjg3OWM3MjUyOTJiOGY3NTI4YWE0
10
- ODVhNDNmY2E2MGY0NDA4ZTMyN2M0MmNkZTMwMTc4ZGFmZjc0YzliYzY4NzFi
11
- NGFhZDgyOWU0ZmRkNDI5MzY0NmU0ZGJhOGEyNGE0NzU3NWY5YTk=
9
+ YTkwMzgyMjc4NTlhM2ZkYjE5N2JlMzFjNDQxZWFjZDNlYjcyNDZhM2FmM2E4
10
+ ZTJhMGIwMDc5ZGQyYTE5MjY1YWNhMmMxNWRkMWJiYjIyNDllMzFiNmY5MTA2
11
+ NjQ2MWI1YzBjYzkwYzAyNzAzMDdmNDkyYzNjYzY1NjIxMWQ2ZTI=
12
12
  data.tar.gz: !binary |-
13
- Y2IyMjc5ZmU3OGJjOWQ3NWVhMWQ4NDgzNzRjOTdmYjgwMmJhNWI2MTMxMGM5
14
- Yzk5YmJlODk1YTZhODcwNWY2MDUwZDY2YTExODBkMmEyZDQyMmFhMGQ5NWZh
15
- NTk5NTQzYjc1MWVlNjAxY2I5YzI5ZDc1ZjE4MmU3MjZmZmRhMzE=
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: tag,
48
- _ts: time
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.2
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-04 00:00:00.000000000 Z
12
+ date: 2014-11-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd