logstash-output-lokis 1.1.0 → 1.1.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
  SHA256:
3
- metadata.gz: 9e70187853529deb761401635d457f937089dfdba127a8d4a5bfbe038afa59ea
4
- data.tar.gz: 1ba1d2558609c2037815c9daa05454ec8a86aa48e304f8aa3609d48e39b6cd4c
3
+ metadata.gz: 66dfb9e6e55db23b51355dbfc938abd3d3a4eeb7a481ffc1e00df800602ee5e9
4
+ data.tar.gz: ca6bdd600684e53ea86d0409a7cbf6c752df53c7e9f5c6615be8ae8a7a5c2483
5
5
  SHA512:
6
- metadata.gz: 292d56839c1ec174ebf8cc569046ea426a9379ced59238db6bb8d67e194d2a3e9e172e918799fec40f80030de00b8d0cc5733a7bc8508330b0d1cdbf8abbfedf
7
- data.tar.gz: 034ee469829efdca033addab9c95f610b26c24ce4df7cc1c423e2934f9e442e9a4ede19b4155bdf6910365deb3a71a62d438e5f611154890637420fcc65febfa
6
+ metadata.gz: 4dd0022be26d21399fc404c895c8d6263d389cc4fd0081cc0c289438a01be78a4819f133400db04a11e36c3dd8125b485cc8a2ecaa6e49c265a120ca139ade15
7
+ data.tar.gz: fa27190a3680e3fddd13ce16bcfad6fac3be9843250c92888c4b5706299a0d7b7d54af3331e4e8c8f05b160c016651a0aad050a8d44c3dfd63412c0f934e87f3
@@ -241,8 +241,9 @@ class LogStash::Outputs::Loki < LogStash::Outputs::Base
241
241
  req = Net::HTTP::Post.new(
242
242
  @uri.request_uri
243
243
  )
244
- #req.add_field('Content-Type', 'application/json')
245
- req.add_field('Content-Type', 'gzip')
244
+ req.add_field('Content-Type', 'application/json')
245
+ #req.add_field('Content-Type', 'gzip')
246
+ req.add_field('Content-Encoding', 'gzip')
246
247
  req.add_field('X-Scope-OrgID', @tenant_id) if @tenant_id
247
248
  req['User-Agent']= 'loki-logstash'
248
249
  req.basic_auth(@username, @password) if @username
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-lokis'
3
- s.version = '1.1.0'
3
+ s.version = '1.1.1'
4
4
  s.authors = ['Aditya C S','Cyril Tovena']
5
5
  s.email = ['aditya.gnu@gmail.com','cyril.tovena@grafana.com']
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-lokis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aditya C S