loggerstash 0.0.4 → 0.0.5

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 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0333050e7e5606471275df168256b8e7edea7ded6c253ae65c043203a9940426
4
- data.tar.gz: 22ac6fc45a8f39d8dc868faf851804700f7244c87f7538c6f1ed51d8ee5d2abe
3
+ metadata.gz: d8f736652eefc09aa22bc4a86e33d91de1d46e13c6b60bdab0a50d0be1cc2e7a
4
+ data.tar.gz: f51fdcdc3c869fdc74dca9301714da16757280c1085e5537aec8788fa0acead7
5
5
  SHA512:
6
- metadata.gz: e76258150536d26e00794d2a0c20d307d4e4b75d26fa6250e64bb846e60599c92dc1e71d1b1dbbf8cafb7d96ddfa753bdb5866dbc847ea499c96487bae4b8ea3
7
- data.tar.gz: cf6c4b7b9f849a3d05e4066509ed7331674868f73b002333ffc150d4bdb65ece98e47827be98916aa8e8cb0df6c64d776d9bd2e4485dc177e12dfd0a66bbf342
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": { _type: "loggerstash" },
140
+ "@metadata": { event_type: "loggerstash" },
141
141
  message: m,
142
142
  severity_name: s.downcase,
143
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.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Palmer