logstash-output-kusto 1.0.5-java → 2.0.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -16
- data/CONTRIBUTORS +0 -0
- data/Gemfile +2 -13
- data/LICENSE +0 -0
- data/README.md +8 -0
- data/SECURITY.md +0 -0
- data/lib/logstash/outputs/kusto/ingestor.rb +5 -1
- data/lib/logstash/outputs/kusto/interval.rb +0 -0
- data/lib/logstash/outputs/kusto.rb +0 -0
- data/lib/logstash-output-kusto_jars.rb +72 -149
- data/logstash-output-kusto.gemspec +7 -8
- data/spec/outputs/kusto/ingestor_spec.rb +0 -0
- data/spec/outputs/kusto_spec.rb +0 -0
- data/spec/spec_helpers.rb +0 -0
- data/vendor/jar-dependencies/com/azure/azure-core/1.41.0/azure-core-1.41.0.jar +0 -0
- data/vendor/jar-dependencies/com/azure/azure-core-http-netty/1.13.5/azure-core-http-netty-1.13.5.jar +0 -0
- data/vendor/jar-dependencies/com/azure/azure-data-tables/12.3.13/azure-data-tables-12.3.13.jar +0 -0
- data/vendor/jar-dependencies/com/azure/azure-identity/1.9.2/azure-identity-1.9.2.jar +0 -0
- data/vendor/jar-dependencies/com/azure/azure-json/1.0.1/azure-json-1.0.1.jar +0 -0
- data/vendor/jar-dependencies/com/azure/azure-storage-blob/12.23.0/azure-storage-blob-12.23.0.jar +0 -0
- data/vendor/jar-dependencies/com/azure/azure-storage-common/12.22.0/azure-storage-common-12.22.0.jar +0 -0
- data/vendor/jar-dependencies/com/azure/azure-storage-internal-avro/12.8.0/azure-storage-internal-avro-12.8.0.jar +0 -0
- data/vendor/jar-dependencies/com/azure/azure-storage-queue/12.18.0/azure-storage-queue-12.18.0.jar +0 -0
- data/{lib/com/fasterxml/jackson/core/jackson-annotations/2.13.0/jackson-annotations-2.13.0.jar → vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-annotations/2.14.2/jackson-annotations-2.14.2.jar} +0 -0
- data/vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-core/2.14.2/jackson-core-2.14.2.jar +0 -0
- data/{lib/com/fasterxml/jackson/core/jackson-databind/2.13.0/jackson-databind-2.13.0.jar → vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-databind/2.14.2/jackson-databind-2.14.2.jar} +0 -0
- data/vendor/jar-dependencies/com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.14.2/jackson-dataformat-xml-2.14.2.jar +0 -0
- data/vendor/jar-dependencies/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.14.2/jackson-datatype-jsr310-2.14.2.jar +0 -0
- data/{lib/com/fasterxml/woodstox/woodstox-core/6.2.4/woodstox-core-6.2.4.jar → vendor/jar-dependencies/com/fasterxml/woodstox/woodstox-core/6.5.0/woodstox-core-6.5.0.jar} +0 -0
- data/vendor/jar-dependencies/com/microsoft/azure/kusto/kusto-data/5.0.2/kusto-data-5.0.2.jar +0 -0
- data/vendor/jar-dependencies/com/microsoft/azure/kusto/kusto-ingest/5.0.2/kusto-ingest-5.0.2.jar +0 -0
- data/vendor/jar-dependencies/com/microsoft/azure/msal4j/1.13.8/msal4j-1.13.8.jar +0 -0
- data/{lib/com/microsoft/azure/msal4j-persistence-extension/1.1.0/msal4j-persistence-extension-1.1.0.jar → vendor/jar-dependencies/com/microsoft/azure/msal4j-persistence-extension/1.2.0/msal4j-persistence-extension-1.2.0.jar} +0 -0
- data/vendor/jar-dependencies/com/nimbusds/content-type/2.2/content-type-2.2.jar +0 -0
- data/vendor/jar-dependencies/com/nimbusds/lang-tag/1.7/lang-tag-1.7.jar +0 -0
- data/vendor/jar-dependencies/com/nimbusds/nimbus-jose-jwt/9.30.2/nimbus-jose-jwt-9.30.2.jar +0 -0
- data/vendor/jar-dependencies/com/nimbusds/oauth2-oidc-sdk/10.7.1/oauth2-oidc-sdk-10.7.1.jar +0 -0
- data/vendor/jar-dependencies/commons-codec/commons-codec/1.13/commons-codec-1.13.jar +0 -0
- data/vendor/jar-dependencies/io/netty/netty-buffer/4.1.94.Final/netty-buffer-4.1.94.Final.jar +0 -0
- data/{lib/io/netty/netty-codec/4.1.68.Final/netty-codec-4.1.68.Final.jar → vendor/jar-dependencies/io/netty/netty-codec/4.1.94.Final/netty-codec-4.1.94.Final.jar} +0 -0
- data/{lib/io/netty/netty-codec-dns/4.1.68.Final/netty-codec-dns-4.1.68.Final.jar → vendor/jar-dependencies/io/netty/netty-codec-dns/4.1.94.Final/netty-codec-dns-4.1.94.Final.jar} +0 -0
- data/{lib/io/netty/netty-codec-http/4.1.68.Final/netty-codec-http-4.1.68.Final.jar → vendor/jar-dependencies/io/netty/netty-codec-http/4.1.94.Final/netty-codec-http-4.1.94.Final.jar} +0 -0
- data/{lib/io/netty/netty-codec-http2/4.1.68.Final/netty-codec-http2-4.1.68.Final.jar → vendor/jar-dependencies/io/netty/netty-codec-http2/4.1.94.Final/netty-codec-http2-4.1.94.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-codec-socks/4.1.94.Final/netty-codec-socks-4.1.94.Final.jar +0 -0
- data/vendor/jar-dependencies/io/netty/netty-common/4.1.94.Final/netty-common-4.1.94.Final.jar +0 -0
- data/{lib/io/netty/netty-handler/4.1.68.Final/netty-handler-4.1.68.Final.jar → vendor/jar-dependencies/io/netty/netty-handler/4.1.94.Final/netty-handler-4.1.94.Final.jar} +0 -0
- data/{lib/io/netty/netty-handler-proxy/4.1.68.Final/netty-handler-proxy-4.1.68.Final.jar → vendor/jar-dependencies/io/netty/netty-handler-proxy/4.1.94.Final/netty-handler-proxy-4.1.94.Final.jar} +0 -0
- data/{lib/io/netty/netty-resolver/4.1.68.Final/netty-resolver-4.1.68.Final.jar → vendor/jar-dependencies/io/netty/netty-resolver/4.1.94.Final/netty-resolver-4.1.94.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-resolver-dns/4.1.94.Final/netty-resolver-dns-4.1.94.Final.jar +0 -0
- data/vendor/jar-dependencies/io/netty/netty-resolver-dns-classes-macos/4.1.94.Final/netty-resolver-dns-classes-macos-4.1.94.Final.jar +0 -0
- data/vendor/jar-dependencies/io/netty/netty-resolver-dns-native-macos/4.1.94.Final/netty-resolver-dns-native-macos-4.1.94.Final.jar +0 -0
- data/vendor/jar-dependencies/io/netty/netty-tcnative-boringssl-static/2.0.61.Final/netty-tcnative-boringssl-static-2.0.61.Final.jar +0 -0
- data/vendor/jar-dependencies/io/netty/netty-tcnative-classes/2.0.61.Final/netty-tcnative-classes-2.0.61.Final.jar +0 -0
- data/{lib/io/netty/netty-transport/4.1.68.Final/netty-transport-4.1.68.Final.jar → vendor/jar-dependencies/io/netty/netty-transport/4.1.94.Final/netty-transport-4.1.94.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-transport-classes-epoll/4.1.94.Final/netty-transport-classes-epoll-4.1.94.Final.jar +0 -0
- data/vendor/jar-dependencies/io/netty/netty-transport-classes-kqueue/4.1.94.Final/netty-transport-classes-kqueue-4.1.94.Final.jar +0 -0
- data/vendor/jar-dependencies/io/netty/netty-transport-native-epoll/4.1.94.Final/netty-transport-native-epoll-4.1.94.Final.jar +0 -0
- data/vendor/jar-dependencies/io/netty/netty-transport-native-kqueue/4.1.94.Final/netty-transport-native-kqueue-4.1.94.Final.jar +0 -0
- data/vendor/jar-dependencies/io/netty/netty-transport-native-unix-common/4.1.94.Final/netty-transport-native-unix-common-4.1.94.Final.jar +0 -0
- data/vendor/jar-dependencies/io/projectreactor/netty/reactor-netty-core/1.0.33/reactor-netty-core-1.0.33.jar +0 -0
- data/vendor/jar-dependencies/io/projectreactor/netty/reactor-netty-http/1.0.33/reactor-netty-http-1.0.33.jar +0 -0
- data/{lib/io/projectreactor/reactor-core/3.4.10/reactor-core-3.4.10.jar → vendor/jar-dependencies/io/projectreactor/reactor-core/3.4.32/reactor-core-3.4.32.jar} +0 -0
- data/vendor/jar-dependencies/net/java/dev/jna/jna/5.13.0/jna-5.13.0.jar +0 -0
- data/vendor/jar-dependencies/net/java/dev/jna/jna-platform/5.13.0/jna-platform-5.13.0.jar +0 -0
- data/{lib/net/minidev/accessors-smart/2.4.7/accessors-smart-2.4.7.jar → vendor/jar-dependencies/net/minidev/accessors-smart/2.4.9/accessors-smart-2.4.9.jar} +0 -0
- data/{lib/net/minidev/json-smart/2.4.7/json-smart-2.4.7.jar → vendor/jar-dependencies/net/minidev/json-smart/2.4.10/json-smart-2.4.10.jar} +0 -0
- data/vendor/jar-dependencies/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar +0 -0
- data/vendor/jar-dependencies/org/apache/commons/commons-text/1.10.0/commons-text-1.10.0.jar +0 -0
- data/vendor/jar-dependencies/org/apache/httpcomponents/httpclient/4.5.14/httpclient-4.5.14.jar +0 -0
- data/vendor/jar-dependencies/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar +0 -0
- data/vendor/jar-dependencies/org/logstash/outputs/logstash-output-kusto/2.0.0/logstash-output-kusto-2.0.0.jar +0 -0
- data/vendor/jar-dependencies/org/ow2/asm/asm/9.3/asm-9.3.jar +0 -0
- data/vendor/jar-dependencies/org/reactivestreams/reactive-streams/1.0.4/reactive-streams-1.0.4.jar +0 -0
- data/version +1 -0
- metadata +103 -97
- data/lib/com/azure/azure-core/1.21.0/azure-core-1.21.0.jar +0 -0
- data/lib/com/azure/azure-core-http-netty/1.11.1/azure-core-http-netty-1.11.1.jar +0 -0
- data/lib/com/azure/azure-identity/1.3.7/azure-identity-1.3.7.jar +0 -0
- data/lib/com/fasterxml/jackson/core/jackson-core/2.13.0/jackson-core-2.13.0.jar +0 -0
- data/lib/com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.12.5/jackson-dataformat-xml-2.12.5.jar +0 -0
- data/lib/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.12.5/jackson-datatype-jsr310-2.12.5.jar +0 -0
- data/lib/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.12.5/jackson-module-jaxb-annotations-2.12.5.jar +0 -0
- data/lib/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar +0 -0
- data/lib/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar +0 -0
- data/lib/com/google/guava/guava/24.1.1-jre/guava-24.1.1-jre.jar +0 -0
- data/lib/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar +0 -0
- data/lib/com/microsoft/azure/azure-keyvault-core/1.2.4/azure-keyvault-core-1.2.4.jar +0 -0
- data/lib/com/microsoft/azure/azure-storage/8.6.6/azure-storage-8.6.6.jar +0 -0
- data/lib/com/microsoft/azure/kusto/kusto-data/3.1.3/kusto-data-3.1.3.jar +0 -0
- data/lib/com/microsoft/azure/kusto/kusto-ingest/3.1.3/kusto-ingest-3.1.3.jar +0 -0
- data/lib/com/microsoft/azure/msal4j/1.11.0/msal4j-1.11.0.jar +0 -0
- data/lib/com/nimbusds/content-type/2.1/content-type-2.1.jar +0 -0
- data/lib/com/nimbusds/lang-tag/1.5/lang-tag-1.5.jar +0 -0
- data/lib/com/nimbusds/nimbus-jose-jwt/9.9.3/nimbus-jose-jwt-9.9.3.jar +0 -0
- data/lib/com/nimbusds/oauth2-oidc-sdk/9.7/oauth2-oidc-sdk-9.7.jar +0 -0
- data/lib/commons-codec/commons-codec/1.11/commons-codec-1.11.jar +0 -0
- data/lib/io/netty/netty-buffer/4.1.68.Final/netty-buffer-4.1.68.Final.jar +0 -0
- data/lib/io/netty/netty-codec-socks/4.1.68.Final/netty-codec-socks-4.1.68.Final.jar +0 -0
- data/lib/io/netty/netty-common/4.1.68.Final/netty-common-4.1.68.Final.jar +0 -0
- data/lib/io/netty/netty-resolver-dns/4.1.68.Final/netty-resolver-dns-4.1.68.Final.jar +0 -0
- data/lib/io/netty/netty-resolver-dns-native-macos/4.1.68.Final/netty-resolver-dns-native-macos-4.1.68.Final-osx-x86_64.jar +0 -0
- data/lib/io/netty/netty-tcnative-boringssl-static/2.0.43.Final/netty-tcnative-boringssl-static-2.0.43.Final.jar +0 -0
- data/lib/io/netty/netty-transport-native-epoll/4.1.68.Final/netty-transport-native-epoll-4.1.68.Final-linux-x86_64.jar +0 -0
- data/lib/io/netty/netty-transport-native-kqueue/4.1.68.Final/netty-transport-native-kqueue-4.1.68.Final-osx-x86_64.jar +0 -0
- data/lib/io/netty/netty-transport-native-unix-common/4.1.68.Final/netty-transport-native-unix-common-4.1.68.Final.jar +0 -0
- data/lib/io/projectreactor/netty/reactor-netty-core/1.0.11/reactor-netty-core-1.0.11.jar +0 -0
- data/lib/io/projectreactor/netty/reactor-netty-http/1.0.11/reactor-netty-http-1.0.11.jar +0 -0
- data/lib/jakarta/activation/jakarta.activation-api/1.2.1/jakarta.activation-api-1.2.1.jar +0 -0
- data/lib/jakarta/xml/bind/jakarta.xml.bind-api/2.3.2/jakarta.xml.bind-api-2.3.2.jar +0 -0
- data/lib/net/java/dev/jna/jna/5.5.0/jna-5.5.0.jar +0 -0
- data/lib/net/java/dev/jna/jna-platform/5.6.0/jna-platform-5.6.0.jar +0 -0
- data/lib/org/apache/commons/commons-lang3/3.11/commons-lang3-3.11.jar +0 -0
- data/lib/org/apache/commons/commons-text/1.9/commons-text-1.9.jar +0 -0
- data/lib/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar +0 -0
- data/lib/org/apache/httpcomponents/httpcore/4.4.15/httpcore-4.4.15.jar +0 -0
- data/lib/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar +0 -0
- data/lib/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar +0 -0
- data/lib/org/json/json/20201115/json-20201115.jar +0 -0
- data/lib/org/ow2/asm/asm/9.1/asm-9.1.jar +0 -0
- data/lib/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar +0 -0
- /data/{lib → vendor/jar-dependencies}/com/github/stephenc/jcip/jcip-annotations/1.0-1/jcip-annotations-1.0-1.jar +0 -0
- /data/{lib → vendor/jar-dependencies}/com/univocity/univocity-parsers/2.9.1/univocity-parsers-2.9.1.jar +0 -0
- /data/{lib → vendor/jar-dependencies}/commons-logging/commons-logging/1.2/commons-logging-1.2.jar +0 -0
- /data/{lib → vendor/jar-dependencies}/io/github/resilience4j/resilience4j-core/1.7.1/resilience4j-core-1.7.1.jar +0 -0
- /data/{lib → vendor/jar-dependencies}/io/github/resilience4j/resilience4j-retry/1.7.1/resilience4j-retry-1.7.1.jar +0 -0
- /data/{lib → vendor/jar-dependencies}/io/vavr/vavr/0.10.2/vavr-0.10.2.jar +0 -0
- /data/{lib → vendor/jar-dependencies}/io/vavr/vavr-match/0.10.2/vavr-match-0.10.2.jar +0 -0
- /data/{lib → vendor/jar-dependencies}/org/codehaus/woodstox/stax2-api/4.2.1/stax2-api-4.2.1.jar +0 -0
- /data/{lib → vendor/jar-dependencies}/org/jetbrains/annotations/22.0.0/annotations-22.0.0.jar +0 -0
- /data/{lib → vendor/jar-dependencies}/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar +0 -0
- /data/{lib → vendor/jar-dependencies}/org/slf4j/slf4j-simple/1.8.0-beta4/slf4j-simple-1.8.0-beta4.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 440a318e63597ef2146f2c92410908c958968f37c9cfc2955a1d4796dde0b542
|
4
|
+
data.tar.gz: ff798ffbcd80a6ffe667b52e5b02b33902eeb7df4b539ea8fcd2bfa9e5134d7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c12afb2dad22c7fb06534905439984df4f083519962e2d298d3c4c47448287941a71f9a6eb885f5f6334c3d51466e3b10c4d53fd92b80c46ec33cfa133fb6e3e
|
7
|
+
data.tar.gz: 3075d4bac3cabd7f53ff1e28b0826151a69f1e9451d29285f021eaceabb2ba9131e8feabe769cb46ad62298471299261b4359a2512608bf9e9c9e2ab5cc8836b
|
data/CHANGELOG.md
CHANGED
@@ -1,37 +1,42 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
|
3
|
+
# 2.0.0
|
4
4
|
|
5
|
-
-
|
5
|
+
- Use (5.0.2) version of the java sdk, and retrieve it from maven with bundler. Supports logstash 8.6 versions and up
|
6
|
+
- Upgrade to latest Java SDK fixes [CVE](https://github.com/advisories/GHSA-599f-7c49-w659) and addresses Issue#48
|
6
7
|
|
7
|
-
|
8
|
+
# 1.0.5
|
8
9
|
|
9
|
-
-
|
10
|
+
- Use (3.1.3) version of the java sdk, and retrieve it from maven with bundler.
|
11
|
+
- Added support for `proxy_host` `proxy_port` `proxy_protocol` to support proxying ingestion to Kusto
|
10
12
|
|
11
|
-
|
13
|
+
# 1.0.0
|
12
14
|
|
13
|
-
-
|
15
|
+
- Use stable (2.1.2) version of the java sdk, and retrieve it from maven with bundler.
|
16
|
+
- Renamed `mapping` to `json_mapping` in order to clarify usage. `mapping` still remains as a deprecated parameter.
|
14
17
|
|
15
|
-
## 0.
|
18
|
+
## 0.4.0
|
16
19
|
|
17
|
-
-
|
20
|
+
- set 'client name for tracing' to identify usage of this plugin on Kusto logs
|
18
21
|
|
19
22
|
## 0.3.0
|
20
23
|
|
21
24
|
- move to version 1.0.0-BETA-04 of azure-kusto-java sdk
|
22
25
|
- better support multiple kusto outputs running in parallel
|
23
26
|
|
24
|
-
## 0.
|
27
|
+
## 0.2.0
|
25
28
|
|
26
|
-
-
|
29
|
+
- move to version 1.0.0-BETA-01 of azure-kusto-java sdk
|
27
30
|
|
28
|
-
|
31
|
+
## 0.1.7
|
29
32
|
|
30
|
-
-
|
31
|
-
- Renamed `mapping` to `json_mapping` in order to clarify usage. `mapping` still remains as a deprecated parameter.
|
33
|
+
- fixed app_key (password) bug, include 0.1.7 of the kusto-java-sdk to allow working through a proxy
|
32
34
|
|
35
|
+
## 0.1.6
|
33
36
|
|
34
|
-
|
37
|
+
- plugin published to the public. supports ingestion json events into a specific table-database (without dynamic routing currently)
|
35
38
|
|
36
|
-
|
37
|
-
|
39
|
+
|
40
|
+
## 0.1.0
|
41
|
+
|
42
|
+
- Plugin created with the logstash plugin generator
|
data/CONTRIBUTORS
CHANGED
File without changes
|
data/Gemfile
CHANGED
@@ -1,22 +1,11 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
|
-
gemspec
|
3
|
-
|
4
2
|
|
3
|
+
gemspec
|
5
4
|
|
6
5
|
logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
|
7
6
|
use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
|
8
7
|
|
9
|
-
puts "cwd: #{Dir.getwd} ,use_logstash_source: #{use_logstash_source}, logstash_path: #{logstash_path}, exists: #{Dir.exist?(logstash_path)}"
|
10
|
-
|
11
8
|
if Dir.exist?(logstash_path) && use_logstash_source
|
12
|
-
puts "Using local logstash"
|
13
9
|
gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
|
14
10
|
gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
|
15
|
-
|
16
|
-
puts "using default logstash"
|
17
|
-
gem 'logstash-core'
|
18
|
-
gem 'logstash-core-plugin-api'
|
19
|
-
end
|
20
|
-
|
21
|
-
gem "rspec"
|
22
|
-
gem "rspec_junit_formatter"
|
11
|
+
end
|
data/LICENSE
CHANGED
File without changes
|
data/README.md
CHANGED
@@ -71,6 +71,14 @@ export LS_JAVA_OPTS="-Dhttp.proxyHost=1.2.34 -Dhttp.proxyPort=8989 -Dhttps.prox
|
|
71
71
|
```
|
72
72
|
|
73
73
|
|
74
|
+
### Release Notes and versions
|
75
|
+
|
76
|
+
| Version | Release Date | Notes |
|
77
|
+
| --- | --- | --- |
|
78
|
+
| 2.0.0 | 2023-09-19 | - Upgrade to the latest Java SDK version [5.0.2](https://github.com/Azure/azure-kusto-java/releases/tag/v5.0.2). Tests have been performed on **__Logstash 8.5__** and up (Does not work with 6.x or 7.x versions of Logstash - For these versions use 1.x.x versions of logstash-output-kusto gem) - Fixes CVE's in common-text & outdated Jackson libraries |
|
79
|
+
| 1.0.6 | 2022-11-29 | - Upgrade to the latest Java SDK [3.2.1](https://github.com/Azure/azure-kusto-java/releases/tag/v3.2.1) version. Tests have been performed on Logstash 6.x and up.|
|
80
|
+
|
81
|
+
|
74
82
|
## Development Requirements
|
75
83
|
|
76
84
|
- Openjdk **8 64bit** (https://www.openlogic.com/openjdk-downloads)
|
data/SECURITY.md
CHANGED
File without changes
|
@@ -34,7 +34,11 @@ class LogStash::Outputs::Kusto < LogStash::Outputs::Base
|
|
34
34
|
# Unfortunately there's no way to avoid using the gem/plugin name directly...
|
35
35
|
name_for_tracing = "logstash-output-kusto:#{Gem.loaded_specs['logstash-output-kusto']&.version || "unknown"}"
|
36
36
|
@logger.debug("Client name for tracing: #{name_for_tracing}")
|
37
|
-
|
37
|
+
|
38
|
+
tuple_utils = Java::org.apache.commons.lang3.tuple
|
39
|
+
# kusto_connection_string.setClientVersionForTracing(name_for_tracing)
|
40
|
+
version_for_tracing=Gem.loaded_specs['logstash-output-kusto']&.version || "unknown"
|
41
|
+
kusto_connection_string.setConnectorDetails("Logstash",version_for_tracing.to_s,"","",false,"", tuple_utils.Pair.emptyArray());
|
38
42
|
|
39
43
|
@kusto_client = begin
|
40
44
|
if proxy_host.nil? || proxy_host.empty?
|
File without changes
|
File without changes
|
@@ -1,150 +1,73 @@
|
|
1
|
-
#
|
2
|
-
begin
|
3
|
-
require 'jar_dependencies'
|
4
|
-
rescue LoadError
|
5
|
-
require 'io/netty/netty-resolver-dns-native-macos/4.1.68.Final/netty-resolver-dns-native-macos-4.1.68.Final-osx-x86_64.jar'
|
6
|
-
require 'com/google/guava/guava/24.1.1-jre/guava-24.1.1-jre.jar'
|
7
|
-
require 'com/microsoft/azure/kusto/kusto-data/3.1.3/kusto-data-3.1.3.jar'
|
8
|
-
require 'com/microsoft/azure/azure-storage/8.6.6/azure-storage-8.6.6.jar'
|
9
|
-
require 'com/microsoft/azure/kusto/kusto-ingest/3.1.3/kusto-ingest-3.1.3.jar'
|
10
|
-
require 'io/projectreactor/netty/reactor-netty-http/1.0.11/reactor-netty-http-1.0.11.jar'
|
11
|
-
require 'net/java/dev/jna/jna/5.5.0/jna-5.5.0.jar'
|
12
|
-
require 'io/netty/netty-handler-proxy/4.1.68.Final/netty-handler-proxy-4.1.68.Final.jar'
|
13
|
-
require 'org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar'
|
14
|
-
require 'io/netty/netty-codec-socks/4.1.68.Final/netty-codec-socks-4.1.68.Final.jar'
|
15
|
-
require 'org/apache/commons/commons-lang3/3.11/commons-lang3-3.11.jar'
|
16
|
-
require 'org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar'
|
17
|
-
require 'com/microsoft/azure/azure-keyvault-core/1.2.4/azure-keyvault-core-1.2.4.jar'
|
18
|
-
require 'io/github/resilience4j/resilience4j-core/1.7.1/resilience4j-core-1.7.1.jar'
|
19
|
-
require 'io/netty/netty-codec-dns/4.1.68.Final/netty-codec-dns-4.1.68.Final.jar'
|
20
|
-
require 'com/nimbusds/nimbus-jose-jwt/9.9.3/nimbus-jose-jwt-9.9.3.jar'
|
21
|
-
require 'io/netty/netty-transport/4.1.68.Final/netty-transport-4.1.68.Final.jar'
|
22
|
-
require 'org/jetbrains/annotations/22.0.0/annotations-22.0.0.jar'
|
23
|
-
require 'io/netty/netty-transport-native-unix-common/4.1.68.Final/netty-transport-native-unix-common-4.1.68.Final.jar'
|
24
|
-
require 'io/netty/netty-transport-native-epoll/4.1.68.Final/netty-transport-native-epoll-4.1.68.Final-linux-x86_64.jar'
|
25
|
-
require 'io/vavr/vavr/0.10.2/vavr-0.10.2.jar'
|
26
|
-
require 'io/netty/netty-resolver-dns/4.1.68.Final/netty-resolver-dns-4.1.68.Final.jar'
|
27
|
-
require 'com/azure/azure-identity/1.3.7/azure-identity-1.3.7.jar'
|
28
|
-
require 'com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.12.5/jackson-module-jaxb-annotations-2.12.5.jar'
|
29
|
-
require 'org/apache/commons/commons-text/1.9/commons-text-1.9.jar'
|
30
|
-
require 'net/java/dev/jna/jna-platform/5.6.0/jna-platform-5.6.0.jar'
|
31
|
-
require 'com/fasterxml/jackson/core/jackson-core/2.13.0/jackson-core-2.13.0.jar'
|
32
|
-
require 'io/netty/netty-resolver/4.1.68.Final/netty-resolver-4.1.68.Final.jar'
|
33
|
-
require 'jakarta/activation/jakarta.activation-api/1.2.1/jakarta.activation-api-1.2.1.jar'
|
34
|
-
require 'commons-logging/commons-logging/1.2/commons-logging-1.2.jar'
|
35
|
-
require 'net/minidev/accessors-smart/2.4.7/accessors-smart-2.4.7.jar'
|
36
|
-
require 'io/netty/netty-codec/4.1.68.Final/netty-codec-4.1.68.Final.jar'
|
37
|
-
require 'commons-codec/commons-codec/1.11/commons-codec-1.11.jar'
|
38
|
-
require 'com/microsoft/azure/msal4j-persistence-extension/1.1.0/msal4j-persistence-extension-1.1.0.jar'
|
39
|
-
require 'com/fasterxml/woodstox/woodstox-core/6.2.4/woodstox-core-6.2.4.jar'
|
40
|
-
require 'com/github/stephenc/jcip/jcip-annotations/1.0-1/jcip-annotations-1.0-1.jar'
|
41
|
-
require 'com/fasterxml/jackson/core/jackson-databind/2.13.0/jackson-databind-2.13.0.jar'
|
42
|
-
require 'io/netty/netty-transport-native-kqueue/4.1.68.Final/netty-transport-native-kqueue-4.1.68.Final-osx-x86_64.jar'
|
43
|
-
require 'io/netty/netty-handler/4.1.68.Final/netty-handler-4.1.68.Final.jar'
|
44
|
-
require 'com/fasterxml/jackson/core/jackson-annotations/2.13.0/jackson-annotations-2.13.0.jar'
|
45
|
-
require 'com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar'
|
46
|
-
require 'org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar'
|
47
|
-
require 'org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar'
|
48
|
-
require 'com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar'
|
49
|
-
require 'io/netty/netty-codec-http/4.1.68.Final/netty-codec-http-4.1.68.Final.jar'
|
50
|
-
require 'com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.12.5/jackson-dataformat-xml-2.12.5.jar'
|
51
|
-
require 'org/ow2/asm/asm/9.1/asm-9.1.jar'
|
52
|
-
require 'com/azure/azure-core-http-netty/1.11.1/azure-core-http-netty-1.11.1.jar'
|
53
|
-
require 'com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.12.5/jackson-datatype-jsr310-2.12.5.jar'
|
54
|
-
require 'org/codehaus/woodstox/stax2-api/4.2.1/stax2-api-4.2.1.jar'
|
55
|
-
require 'org/json/json/20201115/json-20201115.jar'
|
56
|
-
require 'io/netty/netty-tcnative-boringssl-static/2.0.43.Final/netty-tcnative-boringssl-static-2.0.43.Final.jar'
|
57
|
-
require 'io/netty/netty-common/4.1.68.Final/netty-common-4.1.68.Final.jar'
|
58
|
-
require 'net/minidev/json-smart/2.4.7/json-smart-2.4.7.jar'
|
59
|
-
require 'io/projectreactor/reactor-core/3.4.10/reactor-core-3.4.10.jar'
|
60
|
-
require 'io/netty/netty-buffer/4.1.68.Final/netty-buffer-4.1.68.Final.jar'
|
61
|
-
require 'jakarta/xml/bind/jakarta.xml.bind-api/2.3.2/jakarta.xml.bind-api-2.3.2.jar'
|
62
|
-
require 'io/github/resilience4j/resilience4j-retry/1.7.1/resilience4j-retry-1.7.1.jar'
|
63
|
-
require 'com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar'
|
64
|
-
require 'com/univocity/univocity-parsers/2.9.1/univocity-parsers-2.9.1.jar'
|
65
|
-
require 'io/vavr/vavr-match/0.10.2/vavr-match-0.10.2.jar'
|
66
|
-
require 'com/nimbusds/content-type/2.1/content-type-2.1.jar'
|
67
|
-
require 'org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar'
|
68
|
-
require 'com/microsoft/azure/msal4j/1.11.0/msal4j-1.11.0.jar'
|
69
|
-
require 'com/nimbusds/lang-tag/1.5/lang-tag-1.5.jar'
|
70
|
-
require 'com/azure/azure-core/1.21.0/azure-core-1.21.0.jar'
|
71
|
-
require 'com/nimbusds/oauth2-oidc-sdk/9.7/oauth2-oidc-sdk-9.7.jar'
|
72
|
-
require 'org/apache/httpcomponents/httpcore/4.4.15/httpcore-4.4.15.jar'
|
73
|
-
require 'io/netty/netty-codec-http2/4.1.68.Final/netty-codec-http2-4.1.68.Final.jar'
|
74
|
-
require 'org/slf4j/slf4j-simple/1.8.0-beta4/slf4j-simple-1.8.0-beta4.jar'
|
75
|
-
require 'io/projectreactor/netty/reactor-netty-core/1.0.11/reactor-netty-core-1.0.11.jar'
|
76
|
-
end
|
1
|
+
# AUTOGENERATED BY THE GRADLE SCRIPT. DO NOT EDIT.
|
77
2
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
require_jar 'io.projectreactor.netty', 'reactor-netty-core', '1.0.11'
|
150
|
-
end
|
3
|
+
require 'jar_dependencies'
|
4
|
+
require_jar('com.azure', 'azure-core-http-netty', '1.13.5')
|
5
|
+
require_jar('com.azure', 'azure-core', '1.41.0')
|
6
|
+
require_jar('com.azure', 'azure-data-tables', '12.3.13')
|
7
|
+
require_jar('com.azure', 'azure-identity', '1.9.2')
|
8
|
+
require_jar('com.azure', 'azure-json', '1.0.1')
|
9
|
+
require_jar('com.azure', 'azure-storage-blob', '12.23.0')
|
10
|
+
require_jar('com.azure', 'azure-storage-common', '12.22.0')
|
11
|
+
require_jar('com.azure', 'azure-storage-internal-avro', '12.8.0')
|
12
|
+
require_jar('com.fasterxml.jackson.dataformat', 'jackson-dataformat-xml', '2.14.2')
|
13
|
+
require_jar('com.azure', 'azure-storage-queue', '12.18.0')
|
14
|
+
require_jar('com.fasterxml.jackson.core', 'jackson-annotations', '2.14.2')
|
15
|
+
require_jar('com.fasterxml.jackson.core', 'jackson-core', '2.14.2')
|
16
|
+
require_jar('com.fasterxml.jackson.core', 'jackson-databind', '2.14.2')
|
17
|
+
require_jar('com.fasterxml.jackson.datatype', 'jackson-datatype-jsr310', '2.14.2')
|
18
|
+
require_jar('com.fasterxml.woodstox', 'woodstox-core', '6.5.0')
|
19
|
+
require_jar('com.github.stephenc.jcip', 'jcip-annotations', '1.0-1')
|
20
|
+
require_jar('com.microsoft.azure.kusto', 'kusto-data', '5.0.2')
|
21
|
+
require_jar('com.microsoft.azure.kusto', 'kusto-ingest', '5.0.2')
|
22
|
+
require_jar('com.microsoft.azure', 'msal4j-persistence-extension', '1.2.0')
|
23
|
+
require_jar('com.microsoft.azure', 'msal4j', '1.13.8')
|
24
|
+
require_jar('com.nimbusds', 'content-type', '2.2')
|
25
|
+
require_jar('com.nimbusds', 'lang-tag', '1.7')
|
26
|
+
require_jar('com.nimbusds', 'nimbus-jose-jwt', '9.30.2')
|
27
|
+
require_jar('com.nimbusds', 'oauth2-oidc-sdk', '10.7.1')
|
28
|
+
require_jar('com.univocity', 'univocity-parsers', '2.9.1')
|
29
|
+
require_jar('commons-codec', 'commons-codec', '1.13')
|
30
|
+
require_jar('commons-logging', 'commons-logging', '1.2')
|
31
|
+
require_jar('io.github.resilience4j', 'resilience4j-core', '1.7.1')
|
32
|
+
require_jar('io.github.resilience4j', 'resilience4j-retry', '1.7.1')
|
33
|
+
require_jar('io.netty', 'netty-buffer', '4.1.94.Final')
|
34
|
+
require_jar('io.netty', 'netty-codec-dns', '4.1.94.Final')
|
35
|
+
require_jar('io.netty', 'netty-codec-http2', '4.1.94.Final')
|
36
|
+
require_jar('io.netty', 'netty-codec-http', '4.1.94.Final')
|
37
|
+
require_jar('io.netty', 'netty-codec-socks', '4.1.94.Final')
|
38
|
+
require_jar('io.netty', 'netty-codec', '4.1.94.Final')
|
39
|
+
require_jar('io.netty', 'netty-common', '4.1.94.Final')
|
40
|
+
require_jar('io.netty', 'netty-handler-proxy', '4.1.94.Final')
|
41
|
+
require_jar('io.netty', 'netty-handler', '4.1.94.Final')
|
42
|
+
require_jar('io.netty', 'netty-resolver-dns-classes-macos', '4.1.94.Final')
|
43
|
+
require_jar('io.netty', 'netty-resolver-dns-native-macos', '4.1.94.Final')
|
44
|
+
require_jar('io.netty', 'netty-resolver-dns', '4.1.94.Final')
|
45
|
+
require_jar('io.netty', 'netty-resolver', '4.1.94.Final')
|
46
|
+
require_jar('io.netty', 'netty-tcnative-boringssl-static', '2.0.61.Final')
|
47
|
+
require_jar('io.netty', 'netty-tcnative-classes', '2.0.61.Final')
|
48
|
+
require_jar('io.netty', 'netty-transport-classes-epoll', '4.1.94.Final')
|
49
|
+
require_jar('io.netty', 'netty-transport-classes-kqueue', '4.1.94.Final')
|
50
|
+
require_jar('io.netty', 'netty-transport-native-epoll', '4.1.94.Final')
|
51
|
+
require_jar('io.netty', 'netty-transport-native-kqueue', '4.1.94.Final')
|
52
|
+
require_jar('io.netty', 'netty-transport-native-unix-common', '4.1.94.Final')
|
53
|
+
require_jar('io.netty', 'netty-transport', '4.1.94.Final')
|
54
|
+
require_jar('io.projectreactor.netty', 'reactor-netty-core', '1.0.33')
|
55
|
+
require_jar('io.projectreactor.netty', 'reactor-netty-http', '1.0.33')
|
56
|
+
require_jar('io.projectreactor', 'reactor-core', '3.4.32')
|
57
|
+
require_jar('io.vavr', 'vavr-match', '0.10.2')
|
58
|
+
require_jar('io.vavr', 'vavr', '0.10.2')
|
59
|
+
require_jar('net.java.dev.jna', 'jna-platform', '5.13.0')
|
60
|
+
require_jar('net.java.dev.jna', 'jna', '5.13.0')
|
61
|
+
require_jar('net.minidev', 'accessors-smart', '2.4.9')
|
62
|
+
require_jar('net.minidev', 'json-smart', '2.4.10')
|
63
|
+
require_jar('org.apache.commons', 'commons-lang3', '3.12.0')
|
64
|
+
require_jar('org.apache.commons', 'commons-text', '1.10.0')
|
65
|
+
require_jar('org.apache.httpcomponents', 'httpclient', '4.5.14')
|
66
|
+
require_jar('org.apache.httpcomponents', 'httpcore', '4.4.16')
|
67
|
+
require_jar('org.codehaus.woodstox', 'stax2-api', '4.2.1')
|
68
|
+
require_jar('org.jetbrains', 'annotations', '22.0.0')
|
69
|
+
require_jar('org.ow2.asm', 'asm', '9.3')
|
70
|
+
require_jar('org.reactivestreams', 'reactive-streams', '1.0.4')
|
71
|
+
require_jar('org.slf4j', 'slf4j-api', '1.8.0-beta4')
|
72
|
+
require_jar('org.slf4j', 'slf4j-simple', '1.8.0-beta4')
|
73
|
+
require_jar('org.logstash.outputs', 'logstash-output-kusto', '2.0.0')
|
@@ -1,17 +1,17 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-kusto' #WATCH OUT: we hardcoded usage of this name in one of the classes.
|
3
|
-
s.version = '
|
3
|
+
s.version = ::File.read('version').split("\n").first
|
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)'
|
7
7
|
s.homepage = 'https://github.com/Azure/logstash-output-kusto'
|
8
8
|
s.authors = ['Tamir Kamara', 'Asaf Mahlev']
|
9
9
|
s.email = 'nugetkusto@microsoft.com'
|
10
|
-
s.require_paths = [
|
10
|
+
s.require_paths = ["lib", "vendor/jar-dependencies"]
|
11
11
|
s.platform = 'java'
|
12
12
|
|
13
13
|
# Files
|
14
|
-
s.files = Dir[
|
14
|
+
s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*", "vendor/jar-dependencies/**/*.rb", "version", "docs/**/*"]
|
15
15
|
|
16
16
|
# Tests
|
17
17
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
@@ -20,17 +20,16 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
|
21
21
|
|
22
22
|
# Gem dependencies
|
23
|
-
s.add_runtime_dependency 'logstash-core
|
23
|
+
s.add_runtime_dependency 'logstash-core', '>= 8.3.0'
|
24
|
+
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
|
24
25
|
s.add_runtime_dependency 'logstash-codec-json_lines'
|
25
26
|
s.add_runtime_dependency 'logstash-codec-line'
|
26
27
|
|
27
28
|
s.add_development_dependency 'logstash-devutils'
|
28
29
|
s.add_development_dependency 'flores'
|
29
30
|
s.add_development_dependency 'logstash-input-generator'
|
30
|
-
s.add_development_dependency '
|
31
|
+
s.add_development_dependency 'jar-dependencies', '~> 0.4'
|
31
32
|
s.add_development_dependency 'rspec_junit_formatter'
|
32
33
|
|
33
|
-
|
34
|
-
s.requirements << "jar 'com.microsoft.azure.kusto, kusto-ingest, 3.1.3'"
|
35
|
-
s.add_runtime_dependency 'jar-dependencies'
|
34
|
+
|
36
35
|
end
|
File without changes
|
data/spec/outputs/kusto_spec.rb
CHANGED
File without changes
|
data/spec/spec_helpers.rb
CHANGED
File without changes
|
data/vendor/jar-dependencies/com/azure/azure-core-http-netty/1.13.5/azure-core-http-netty-1.13.5.jar
ADDED
Binary file
|
data/vendor/jar-dependencies/com/azure/azure-data-tables/12.3.13/azure-data-tables-12.3.13.jar
ADDED
Binary file
|
Binary file
|
data/vendor/jar-dependencies/com/azure/azure-storage-blob/12.23.0/azure-storage-blob-12.23.0.jar
ADDED
Binary file
|
data/vendor/jar-dependencies/com/azure/azure-storage-common/12.22.0/azure-storage-common-12.22.0.jar
ADDED
Binary file
|
Binary file
|
data/vendor/jar-dependencies/com/azure/azure-storage-queue/12.18.0/azure-storage-queue-12.18.0.jar
ADDED
Binary file
|
data/vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-core/2.14.2/jackson-core-2.14.2.jar
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/jar-dependencies/com/microsoft/azure/kusto/kusto-ingest/5.0.2/kusto-ingest-5.0.2.jar
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/jar-dependencies/org/apache/httpcomponents/httpclient/4.5.14/httpclient-4.5.14.jar
ADDED
Binary file
|
Binary file
|