loggerstash 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/loggerstash.rb +1 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9dbd74e8a0096228149fda7e10855c331375e7d69487f4c1a20fad962513caa1
4
- data.tar.gz: 993cf25a2d56b661a9ccea0f4329e816867c9bc4b3304a3190cf6ab9a9d7618f
3
+ metadata.gz: 0333050e7e5606471275df168256b8e7edea7ded6c253ae65c043203a9940426
4
+ data.tar.gz: 22ac6fc45a8f39d8dc868faf851804700f7244c87f7538c6f1ed51d8ee5d2abe
5
5
  SHA512:
6
- metadata.gz: e6be6da3241b42f1c72f8192c3c251990b3d10b2164662b05cedde8707b32db02d8a68d06baf974417f7d62341d6c5781e935eced286057593e82873af0e2e40
7
- data.tar.gz: e7370536f16a2cd3fcab3df0804f97c4d466a1e9dc869c2053fd03ead426651844bdc735572dc4e88967bf9e9bba6991494b5a1754a26d91f60b1813de406264
6
+ metadata.gz: e76258150536d26e00794d2a0c20d307d4e4b75d26fa6250e64bb846e60599c92dc1e71d1b1dbbf8cafb7d96ddfa753bdb5866dbc847ea499c96487bae4b8ea3
7
+ data.tar.gz: cf6c4b7b9f849a3d05e4066509ed7331674868f73b002333ffc150d4bdb65ece98e47827be98916aa8e8cb0df6c64d776d9bd2e4485dc177e12dfd0a66bbf342
@@ -137,6 +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": { _type: "loggerstash" },
140
141
  message: m,
141
142
  severity_name: s.downcase,
142
143
  hostname: Socket.gethostname,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loggerstash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Palmer