logstash-output-kusto 0.3.0 → 0.4.0

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: c688fd6cf032878161eb41109dec9b37e430b23168ae489e91686959c81a4d52
4
- data.tar.gz: 6e4022884c5cd4259d5a6c970666a8f90c79c547b66a84157ebb2c44256ed947
3
+ metadata.gz: a85f4914dcc7e8b9240db4d1b812ae5326d4ed24c222acb71f6ebf5cb62ff0d7
4
+ data.tar.gz: c5cd93129ab4c078583f49bfc247065f49ece4598aa1bc2df0ef383000d447f9
5
5
  SHA512:
6
- metadata.gz: 8f9936c33460ef09867a1abe08bc5607d2f48e8db30f15401699510f90b691b62a68b335a3f4851622fb693266404f3c2804b8c97c6748b527f6df4ea66d3c98
7
- data.tar.gz: 239bbe7e485f665e46654d693c9a7d7fb9d067ac4af4302fe81e5dcfe8362f2fd5425b75727944b2576e07e3c5bbb87ab53383bb27a5be5b1e63a77e9bdc11ce
6
+ metadata.gz: 7d1f6095430d65c7fb93d370a5efc6d914d996b202749f7d55a5a8550b9abc69371cef7799419eb8b81af9415cbb4f5232d86c5364af32339349e06775348e2f
7
+ data.tar.gz: d5fd0d706d12d5b657d3b3560afb633440a8d875d3c6a9aff47d62641b5c984db5e24d4ea0caedd48a5a19d7933c2d2f90ff07334fd453a4dab245ee3b07e2b4
@@ -20,3 +20,7 @@
20
20
 
21
21
  - move to version 1.0.0-BETA-04 of azure-kusto-java sdk
22
22
  - better support multiple kusto outputs running in parallel
23
+
24
+ ## 0.4.0
25
+
26
+ - set 'client name for tracing' to identify usage of this plugin on Kusto logs
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Logstash Output Plugin for Azure Data Explorer (Kusto)
2
2
 
3
- master: [![Build Status](https://travis-ci.org/Azure/logstash-output-kusto.svg)](https://travis-ci.org/Azure/logstash-output-kusto)
3
+ master: [![Build Status](https://travis-ci.org/Azure/logstash-output-kusto.svg?branch=master)](https://travis-ci.org/Azure/logstash-output-kusto)
4
4
  dev: [![Build Status](https://travis-ci.org/Azure/logstash-output-kusto.svg?branch=dev)](https://travis-ci.org/Azure/logstash-output-kusto)
5
5
 
6
6
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
@@ -30,6 +30,11 @@ class LogStash::Outputs::Kusto < LogStash::Outputs::Base
30
30
  @logger.debug('Preparing Kusto resources.')
31
31
 
32
32
  kusto_connection_string = Java::com.microsoft.azure.kusto.data.ConnectionStringBuilder.createWithAadApplicationCredentials(ingest_url, app_id, app_key.value, app_tenant)
33
+
34
+ # Unfortunately there's no way to avoid using the gem/plugin name directly...
35
+ name_for_tracing = "logstash-output-kusto:#{Gem.loaded_specs['logstash-output-kusto'].version}"
36
+ @logger.debug("Client name for tracing: #{name_for_tracing}")
37
+ kusto_connection_string.setClientVersionForTracing(name_for_tracing)
33
38
 
34
39
  @kusto_client = Java::com.microsoft.azure.kusto.ingest.IngestClientFactory.createClient(kusto_connection_string)
35
40
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
- s.name = 'logstash-output-kusto'
3
- s.version = '0.3.0'
2
+ s.name = 'logstash-output-kusto' #WATCH OUT: we hardcoded usage of this name in one of the classes.
3
+ s.version = '0.4.0'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'Writes events to Azure Data Explorer (Kusto)'
6
6
  s.description = 'This is a logstash output plugin used to write events to an Azure Data Explorer (a.k.a Kusto)'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-kusto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tamir Kamara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-17 00:00:00.000000000 Z
11
+ date: 2019-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core-plugin-api