logstash-output-azure_loganalytics 0.3.1 → 0.3.2

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
  SHA1:
3
- metadata.gz: a25ad8b80f9c07355c78a85326fcca885e67d739
4
- data.tar.gz: 332c355b577a8876e3b8dd77bd8322d1479ca0c1
3
+ metadata.gz: 6a8138f370979319233a8e0e551e54eb67fa21f5
4
+ data.tar.gz: 6f4947c3d33c113de24b037647f85571d2d702df
5
5
  SHA512:
6
- metadata.gz: d490865b12e382522d1985d275a8f7b10f38cd8bab49961bd24c0024ffdb8843fe4501cf32c5ae8d08307ee8d01cd8065f212f620df16895ce8ffb6efbf04ec3
7
- data.tar.gz: 549bfc413b647fb53e2e5c0e1bc0ee66bd0553f1ac090d3cba5f6703e4ec7e4fb6f32cbe3fe34e22ac126a1a55bddf814d18ec25647992f0a0278db231b5d04b
6
+ metadata.gz: 25f61fafc74d8ef5664d1af104d167f9299d15599a78da18846adcd4744ebee4c64843b0dc3dffdde7284b57a0a840807256852a166bb0036197cc7ab31e63ad
7
+ data.tar.gz: c4f424932fc52638ead8219234e90755180058ba06c0f88f607bdf78f56d33cce41f51c08a1c26d72b2220d7d705d572b890e9d0a5379c4d9b2c884fd0b823c4
@@ -1,3 +1,6 @@
1
+ ## 0.3.2
2
+ * Improvement: removed unnecessary key check
3
+
1
4
  ## 0.3.1
2
5
  * Performance optimization for large key_names list scenario - [Issue#10](https://github.com/yokawasa/logstash-output-azure_loganalytics/issues/10)
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -91,12 +91,10 @@ class LogStash::Outputs::AzureLogAnalytics < LogStash::Outputs::Base
91
91
  # Get the intersection of key_names and keys of event_hash
92
92
  keys_intersection = @key_names & event_hash.keys
93
93
  keys_intersection.each do |key|
94
- if event_hash.include?(key)
95
- if @key_types.include?(key)
96
- document[key] = convert_value(@key_types[key], event_hash[key])
97
- else
98
- document[key] = event_hash[key]
99
- end
94
+ if @key_types.include?(key)
95
+ document[key] = convert_value(@key_types[key], event_hash[key])
96
+ else
97
+ document[key] = event_hash[key]
100
98
  end
101
99
  end
102
100
  else
@@ -141,4 +139,4 @@ class LogStash::Outputs::AzureLogAnalytics < LogStash::Outputs::Base
141
139
  end
142
140
  end
143
141
 
144
- end # class LogStash::Outputs::AzureLogAnalytics
142
+ end # class LogStash::Outputs::AzureLogAnalytics
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.3.1
4
+ version: 0.3.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: 2019-06-17 00:00:00.000000000 Z
11
+ date: 2019-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement