capun 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capun/version.rb +1 -1
- data/lib/generators/capun/templates/logstash.config.erb +14 -12
- 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: fd69811f9f389f1e06e05c5b283c6d02f938606b
|
4
|
+
data.tar.gz: 37cfff03d94df8c7fa2c46f9e39abc4b5325c44d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d798e12a6bb566ac22fc896ce9f1ebfdacbf2c313f29873bb6d09c0ec4f4e5dea3b9df622a3fe213474af4176c662bc62a15e633e70082f63e1dda0a9677735
|
7
|
+
data.tar.gz: 231cdcbe657b0e86b1f50892234b7f970dfc91b83acc4d3dc594516b56c09e6f13d206feff13b6adac438341102e12bc0aea1247f2ee3444dce83b0d9b2a4f8d
|
data/lib/capun/version.rb
CHANGED
@@ -5,18 +5,20 @@ input {
|
|
5
5
|
}
|
6
6
|
}
|
7
7
|
filter{
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
8
|
+
if [type] == "<%= fetch(:application) %>" {
|
9
|
+
mutate {
|
10
|
+
#square brackets should be removed, otherwise parse error will happen
|
11
|
+
gsub => [ "message", "\[|\]", "" ]
|
12
|
+
}
|
13
|
+
json{
|
14
|
+
source => "message"
|
15
|
+
}
|
16
|
+
useragent {
|
17
|
+
source => "agent_string"
|
18
|
+
}
|
19
|
+
geoip {
|
20
|
+
source => "remote_ip"
|
21
|
+
}
|
20
22
|
}
|
21
23
|
}
|
22
24
|
output {
|