logstash-output-azure_loganalytics 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53318b56f7d53f2e7fb3dfbe93025b7ea5ca516e
4
- data.tar.gz: 6db6a25e8a789141648e86e659c6ddf45d471511
3
+ metadata.gz: 629eda80466a6cfbdcce7776297948a4e0de40c6
4
+ data.tar.gz: 042e2dfeb268197f6375f57f6d0a619bf530fa95
5
5
  SHA512:
6
- metadata.gz: d153afeb6b9f0a319977a46d21768169c3d1921c1bc8ac31150307f034d6bb26cb300976735c9c9a70f3c5b7af71fc98aff8c19a5932e9f0bfb33edefeedaf72
7
- data.tar.gz: 7a1b852f5bdf4afb598058db7a3eb205162f2874825c5bc84be8501a8b4a2f766070b89e6df2606907689c9200bea61c29d5d0c0889e947ee2001c7c8662b507
6
+ metadata.gz: 0bfcfd713c74c97d32b077c3e039cd6a6bdc4ce85148a28dd45f852a65ab50606f5233fbff4e8ccc3698748a0e6957b822df6c88d48a6818f377fa84711b244f
7
+ data.tar.gz: af429bb4c0a4e646b3b37886e1762cda43861ff33e437a8a59da02fef89d01d4aaeb5b1716a9bc4273a6e39d016d5035738a6cdc3bedcd5f8c4641e0d51a13c9
@@ -1,3 +1,6 @@
1
+ ## 0.2.2
2
+ * Fix logging failure [PR#6](https://github.com/yokawasa/logstash-output-azure_loganalytics/pull/6) (Thanks to [@daniel-chambers](https://github.com/daniel-chambers))
3
+
1
4
  ## 0.2.1
2
5
 
3
6
  * Updated gem dependencies to allow compatibility with Logstash 5 + 6 (Thanks to [@arthurtoper](https://github.com/arthurtoper))
@@ -5,6 +5,7 @@ Contributors:
5
5
  * Yoichi Kawasaki (@yokawasa)
6
6
  * Gwendal Mousset (@gmousset)
7
7
  * Arthur Toper (@arthurtoper)
8
+ * Daniel Chambers (@daniel-chambers)
8
9
 
9
10
  Note: If you've sent us patches, bug reports, or otherwise contributed to
10
11
  Logstash, and you aren't on the list above and want to be, please let us know
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -86,10 +86,10 @@ class LogStash::Outputs::AzureLogAnalytics < LogStash::Outputs::Base
86
86
  begin
87
87
  res = @client.post_data(@log_type, documents, @time_generated_field)
88
88
  if not Azure::Loganalytics::Datacollectorapi::Client.is_success(res)
89
- $logger.error("DataCollector API request failure: error code: #{res.code}, data=>" + (documents.to_json).to_s)
89
+ @logger.error("DataCollector API request failure: error code: #{res.code}, data=>" + (documents.to_json).to_s)
90
90
  end
91
91
  rescue Exception => ex
92
- $logger.error("Exception occured in posting to DataCollector API: '#{ex}', data=>" + (documents.to_json).to_s)
92
+ @logger.error("Exception occured in posting to DataCollector API: '#{ex}', data=>" + (documents.to_json).to_s)
93
93
  end
94
94
 
95
95
  end # def flush
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-azure_loganalytics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoichi Kawasaki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-10 00:00:00.000000000 Z
11
+ date: 2019-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement