logstash_auditor 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash_auditor/auditor.rb +26 -3
- data/lib/logstash_auditor/version.rb +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: 4a48638193dc463da2061eabdf14e5c0fdd301ef
|
4
|
+
data.tar.gz: 22fece4261c92559d60f777a1523b2d2e3ed2f66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c02dcd0bb18389ca6679c76e22fb7178e39ff9566ec730b202b6321aac09c3528ba61bda10e2a4fac1179e9d04d3fa07ef1c8965abb105b89df782c766a58b6
|
7
|
+
data.tar.gz: a29d438577478f3d09907eb0e9adc14b6974121f177f7c24b07e3b911fab84bf465399296de059c9a585a8804e428eecfbdf58c5e6f5b0b26fb7496c52c23e37
|
@@ -19,9 +19,32 @@ module LogstashAuditor
|
|
19
19
|
@has_been_configured = true
|
20
20
|
end
|
21
21
|
|
22
|
-
def
|
23
|
-
|
24
|
-
|
22
|
+
def debug(data)
|
23
|
+
event(data)
|
24
|
+
end
|
25
|
+
|
26
|
+
def info(data)
|
27
|
+
event(data)
|
28
|
+
end
|
29
|
+
|
30
|
+
def error(data)
|
31
|
+
event(data)
|
32
|
+
end
|
33
|
+
|
34
|
+
def warn(data)
|
35
|
+
event(data)
|
36
|
+
end
|
37
|
+
|
38
|
+
def fatal(data)
|
39
|
+
event(data)
|
40
|
+
end
|
41
|
+
|
42
|
+
def <<(data)
|
43
|
+
event(data)
|
44
|
+
end
|
45
|
+
|
46
|
+
def event(data)
|
47
|
+
data = { "message" => data }
|
25
48
|
send_event( data )
|
26
49
|
end
|
27
50
|
|