logstash-input-cloudflare_logs 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: 97fb1c091585e0cf444cd4ae0da7857aa89c0ea5
4
- data.tar.gz: ecf522d024c3ada5dc7ba31b95fd075307a2a97e
3
+ metadata.gz: f29ffe0eb81c45938d28ef1e53b8dad497bacc09
4
+ data.tar.gz: fb8f38812e2f34925d5f59fa916e34075c932630
5
5
  SHA512:
6
- metadata.gz: 8c692e6a1461c80fa4649413e24d9cbf1c54e6b6e5aa5ef5a1a666587f425307e2f393cf433d407e061ea08327eb6993018c1d375fddd0b8861c813d20094f78
7
- data.tar.gz: 74639dbf211adb9111fc71588a5042b5e9f7b8c3ee66a8ce0afe178dbfa0e996e618f38362c0fe4f2ba6fddf1e266b88e0d96888ae71b3d895999cb3dcf91504
6
+ metadata.gz: 4c6d28aa88c52373f1a40dbcef95292733fe8b9a0f01687e0d3d5e0d10437dfb88bc8821f44be4825d9decf4477ac70b8d0aaba344b20bfa26329793e59c743e
7
+ data.tar.gz: e076e125f7ddd86ea259bf96c5f76d021a6d531e7659137847060d261588ae082ce6024b1512f75a4268ed705db1fcb41333eff23c36091a353027f0019cf7c4
@@ -85,9 +85,9 @@ class LogStash::Inputs::CloudflareLogs < LogStash::Inputs::Base
85
85
 
86
86
  def process_logs(queue)
87
87
  cloudflare_access.logs.each do |log|
88
- event = LogStash::Event.new(log)
89
88
  log['fields.type'] = 'cloudflare'
90
89
  log['fields.env'] = @environment_name
90
+ event = LogStash::Event.new(log)
91
91
  decorate(event)
92
92
  queue << event
93
93
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-cloudflare_logs'
3
- s.version = '0.1.6'
3
+ s.version = '0.1.7'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = 'write cloudflare logs to logstash'
6
6
  s.description = 'Write cloudflare lgos to logstash.' \
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-cloudflare_logs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Moore