syslogstash 0.4.0 → 0.4.1

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: f013a89558632b9ac7402191a3a1bf7e9399d9af
4
- data.tar.gz: 5e56866a48fa92bbc4d3decdd6662d130380f409
3
+ metadata.gz: 84f7fa134c15c370b86eb8bc685b4fb900c7c68d
4
+ data.tar.gz: 31fbe3ad2d1e28f43a9ab3631b634c3c9fb78ee7
5
5
  SHA512:
6
- metadata.gz: 8adb890310f7fbb3e3c0b388361d9f746b7676cc6ab85730728431df938d48b61f911ac86f50223c4b59d1bd4b6e87d0a71ad5e9d6fe26064864d20a0d3e5319
7
- data.tar.gz: e67f439643eb30a7af9d7abae8e1abba1d64a0006330d887ebaf128e1377d95d7afd42b121d6149d4669eacb8515d714fb726c65418001e6a6d054b0570d7e89
6
+ metadata.gz: 9b8d20f5cc43ab7746247866358b6599a1bd92dcefee0b5681db88b820481159d6d15bd0d3167eec071824866f72d9383b1477d1cc420548cdc1e65440f48b81
7
+ data.tar.gz: be68092ce035ebec4da5e5a643bbc07b8312cf085a5083f94ab8b6605a903d67b4ba4e06f60ee10fabdd4f71b700427fb021233b1771d95e479ca6628362e23d
@@ -59,10 +59,10 @@ class Syslogstash::SyslogReader
59
59
  # Lo! the many ways that syslog messages can be formatted
60
60
  hostname, program, pid, message = case content
61
61
  # the gold standard: hostname, program name with optional PID
62
- when /^([a-zA-Z0-9_-]*[^:]) (\S+?)(\[(\d+)\])?: (.*)$/
62
+ when /^([a-zA-Z0-9._-]*[^:]) (\S+?)(\[(\d+)\])?: (.*)$/
63
63
  [$1, $2, $4, $5]
64
64
  # hostname, no program name
65
- when /^([a-zA-Z0-9_-]+) (\S+[^:] .*)$/
65
+ when /^([a-zA-Z0-9._-]+) (\S+[^:] .*)$/
66
66
  [$1, nil, nil, $2]
67
67
  # program name, no hostname (yeah, you heard me, non-RFC compliant!)
68
68
  when /^(\S+?)(\[(\d+)\])?: (.*)$/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syslogstash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Palmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-27 00:00:00.000000000 Z
11
+ date: 2016-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prometheus-client