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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/logstash/outputs/kusto/ingestor.rb +5 -0
- data/logstash-output-kusto.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a85f4914dcc7e8b9240db4d1b812ae5326d4ed24c222acb71f6ebf5cb62ff0d7
|
4
|
+
data.tar.gz: c5cd93129ab4c078583f49bfc247065f49ece4598aa1bc2df0ef383000d447f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d1f6095430d65c7fb93d370a5efc6d914d996b202749f7d55a5a8550b9abc69371cef7799419eb8b81af9415cbb4f5232d86c5364af32339349e06775348e2f
|
7
|
+
data.tar.gz: d5fd0d706d12d5b657d3b3560afb633440a8d875d3c6a9aff47d62641b5c984db5e24d4ea0caedd48a5a19d7933c2d2f90ff07334fd453a4dab245ee3b07e2b4
|
data/CHANGELOG.md
CHANGED
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.
|
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.
|
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-
|
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
|