fluent-plugin-filter-parse-postfix 0.1.1 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b278ad9f0f1b093760418b604e4c2bb50410da9
|
4
|
+
data.tar.gz: 7ffb9eb8f81ab662c09f2461aac7a3eeb764756f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a05fced676eba05a5f7f0c3e096c98d15e7656f48b7b36a00f0b75b8ddb45dfacf1898ddf383213b1b75f9c054697d7176b8288ae598b5bcb9988bf3803a6e0
|
7
|
+
data.tar.gz: 83b96182409c865623c7c994cd8a11dc94d9231df9955c49e809ac5dd64c6607b47e6902a457bfa4e59f6c77a56ef6f9435eb2a16c5ef8cb86a8c3611190cfa3
|
@@ -27,10 +27,14 @@ module Fluent
|
|
27
27
|
line = record[@key]
|
28
28
|
return unless line
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
parsed = PostfixStatusLine.parse(line, @mask)
|
31
|
+
|
32
|
+
unless parsed
|
33
|
+
log.warn "could not parse postfix log: #{line}"
|
34
|
+
return
|
35
|
+
end
|
32
36
|
|
33
|
-
result_es.add(time,
|
37
|
+
result_es.add(time, parsed)
|
34
38
|
end
|
35
39
|
end
|
36
40
|
end
|