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 +4 -4
- data/lib/logstash/inputs/cloudflare_logs.rb +1 -1
- data/logstash-input-cloudflare-logs.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f29ffe0eb81c45938d28ef1e53b8dad497bacc09
|
4
|
+
data.tar.gz: fb8f38812e2f34925d5f59fa916e34075c932630
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|