loggerstash 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/loggerstash.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8f736652eefc09aa22bc4a86e33d91de1d46e13c6b60bdab0a50d0be1cc2e7a
|
4
|
+
data.tar.gz: f51fdcdc3c869fdc74dca9301714da16757280c1085e5537aec8788fa0acead7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c35c3dd71a70bc62a7c8a1537302fed8081890f6bd51f442534ffa431c67d0e0c55fa46a72df5d2158f8d84ddb2ff90131ec719009e92f4b895922799d9d20f2
|
7
|
+
data.tar.gz: 1f8431d3d54f5bd226d36cf412922cd303ece288319835624f94e2536bddb5a699543eb219b2a3ecc4fce3453f847fb72afdc55a9f02eea7ee4d20a421d78548
|
data/lib/loggerstash.rb
CHANGED
@@ -137,7 +137,7 @@ class Loggerstash
|
|
137
137
|
@default_formatter ||= ->(s, t, p, m) do
|
138
138
|
{
|
139
139
|
"@timestamp": t.utc.strftime("%FT%T.%NZ"),
|
140
|
-
"@metadata": {
|
140
|
+
"@metadata": { event_type: "loggerstash" },
|
141
141
|
message: m,
|
142
142
|
severity_name: s.downcase,
|
143
143
|
hostname: Socket.gethostname,
|