logstash-output-kusto 1.0.3-java → 1.0.4-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -0
  3. data/README.md +2 -0
  4. data/lib/com/azure/azure-core/1.21.0/azure-core-1.21.0.jar +0 -0
  5. data/lib/com/azure/azure-core-http-netty/1.11.1/azure-core-http-netty-1.11.1.jar +0 -0
  6. data/lib/com/azure/azure-identity/1.3.7/azure-identity-1.3.7.jar +0 -0
  7. data/lib/com/fasterxml/jackson/core/jackson-annotations/{2.12.0-rc2/jackson-annotations-2.12.0-rc2.jar → 2.13.0/jackson-annotations-2.13.0.jar} +0 -0
  8. data/lib/com/fasterxml/jackson/core/jackson-core/2.13.0/jackson-core-2.13.0.jar +0 -0
  9. data/lib/com/fasterxml/jackson/core/jackson-databind/2.13.0/jackson-databind-2.13.0.jar +0 -0
  10. data/lib/com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.12.5/jackson-dataformat-xml-2.12.5.jar +0 -0
  11. data/lib/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.12.5/jackson-datatype-jsr310-2.12.5.jar +0 -0
  12. data/lib/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.12.5/jackson-module-jaxb-annotations-2.12.5.jar +0 -0
  13. data/lib/com/fasterxml/woodstox/woodstox-core/6.2.4/woodstox-core-6.2.4.jar +0 -0
  14. data/lib/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar +0 -0
  15. data/lib/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar +0 -0
  16. data/lib/com/google/guava/guava/24.1.1-jre/guava-24.1.1-jre.jar +0 -0
  17. data/lib/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar +0 -0
  18. data/lib/com/microsoft/azure/azure-keyvault-core/1.2.4/azure-keyvault-core-1.2.4.jar +0 -0
  19. data/lib/com/microsoft/azure/azure-storage/8.6.6/azure-storage-8.6.6.jar +0 -0
  20. data/lib/com/microsoft/azure/kusto/kusto-data/3.1.1/kusto-data-3.1.1.jar +0 -0
  21. data/lib/com/microsoft/azure/kusto/kusto-ingest/3.1.1/kusto-ingest-3.1.1.jar +0 -0
  22. data/lib/com/microsoft/azure/msal4j/1.11.0/msal4j-1.11.0.jar +0 -0
  23. data/lib/com/microsoft/azure/msal4j-persistence-extension/1.1.0/msal4j-persistence-extension-1.1.0.jar +0 -0
  24. data/lib/com/nimbusds/lang-tag/1.5/lang-tag-1.5.jar +0 -0
  25. data/lib/com/nimbusds/nimbus-jose-jwt/9.9.3/nimbus-jose-jwt-9.9.3.jar +0 -0
  26. data/lib/com/nimbusds/oauth2-oidc-sdk/9.7/oauth2-oidc-sdk-9.7.jar +0 -0
  27. data/lib/io/github/resilience4j/resilience4j-core/1.7.1/resilience4j-core-1.7.1.jar +0 -0
  28. data/lib/io/github/resilience4j/resilience4j-retry/1.7.1/resilience4j-retry-1.7.1.jar +0 -0
  29. data/lib/io/netty/netty-buffer/4.1.68.Final/netty-buffer-4.1.68.Final.jar +0 -0
  30. data/lib/io/netty/netty-codec/4.1.68.Final/netty-codec-4.1.68.Final.jar +0 -0
  31. data/lib/io/netty/netty-codec-dns/4.1.68.Final/netty-codec-dns-4.1.68.Final.jar +0 -0
  32. data/lib/io/netty/netty-codec-http/4.1.68.Final/netty-codec-http-4.1.68.Final.jar +0 -0
  33. data/lib/io/netty/netty-codec-http2/4.1.68.Final/netty-codec-http2-4.1.68.Final.jar +0 -0
  34. data/lib/io/netty/netty-codec-socks/4.1.68.Final/netty-codec-socks-4.1.68.Final.jar +0 -0
  35. data/lib/io/netty/netty-common/4.1.68.Final/netty-common-4.1.68.Final.jar +0 -0
  36. data/lib/io/netty/netty-handler/4.1.68.Final/netty-handler-4.1.68.Final.jar +0 -0
  37. data/lib/io/netty/netty-handler-proxy/4.1.68.Final/netty-handler-proxy-4.1.68.Final.jar +0 -0
  38. data/lib/io/netty/netty-resolver/4.1.68.Final/netty-resolver-4.1.68.Final.jar +0 -0
  39. data/lib/io/netty/netty-resolver-dns/4.1.68.Final/netty-resolver-dns-4.1.68.Final.jar +0 -0
  40. 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
  41. data/lib/io/netty/netty-tcnative-boringssl-static/2.0.43.Final/netty-tcnative-boringssl-static-2.0.43.Final.jar +0 -0
  42. data/lib/io/netty/netty-transport/4.1.68.Final/netty-transport-4.1.68.Final.jar +0 -0
  43. 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
  44. 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
  45. 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
  46. data/lib/io/projectreactor/netty/reactor-netty-core/1.0.11/reactor-netty-core-1.0.11.jar +0 -0
  47. data/lib/io/projectreactor/netty/reactor-netty-http/1.0.11/reactor-netty-http-1.0.11.jar +0 -0
  48. data/lib/io/projectreactor/reactor-core/3.4.10/reactor-core-3.4.10.jar +0 -0
  49. data/lib/io/vavr/vavr/0.10.2/vavr-0.10.2.jar +0 -0
  50. data/lib/io/vavr/vavr-match/0.10.2/vavr-match-0.10.2.jar +0 -0
  51. data/lib/jakarta/activation/jakarta.activation-api/1.2.1/jakarta.activation-api-1.2.1.jar +0 -0
  52. data/lib/jakarta/xml/bind/jakarta.xml.bind-api/2.3.2/jakarta.xml.bind-api-2.3.2.jar +0 -0
  53. data/lib/logstash/outputs/kusto/ingestor.rb +4 -4
  54. data/lib/logstash-output-kusto_jars.rb +130 -40
  55. data/lib/net/java/dev/jna/jna/5.5.0/jna-5.5.0.jar +0 -0
  56. data/lib/net/java/dev/jna/jna-platform/5.6.0/jna-platform-5.6.0.jar +0 -0
  57. data/lib/net/minidev/accessors-smart/2.4.7/accessors-smart-2.4.7.jar +0 -0
  58. data/lib/net/minidev/json-smart/2.4.7/json-smart-2.4.7.jar +0 -0
  59. data/lib/org/apache/commons/commons-text/1.9/commons-text-1.9.jar +0 -0
  60. data/lib/org/apache/httpcomponents/httpcore/{4.4.13/httpcore-4.4.13.jar → 4.4.15/httpcore-4.4.15.jar} +0 -0
  61. data/lib/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar +0 -0
  62. data/lib/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar +0 -0
  63. data/lib/org/codehaus/woodstox/stax2-api/4.2.1/stax2-api-4.2.1.jar +0 -0
  64. data/lib/org/jetbrains/annotations/{20.1.0/annotations-20.1.0.jar → 22.0.0/annotations-22.0.0.jar} +0 -0
  65. data/lib/org/ow2/asm/asm/9.1/asm-9.1.jar +0 -0
  66. data/lib/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar +0 -0
  67. data/lib/org/slf4j/slf4j-simple/1.8.0-beta4/slf4j-simple-1.8.0-beta4.jar +0 -0
  68. data/logstash-output-kusto.gemspec +3 -2
  69. data/spec/outputs/kusto_spec.rb +2 -3
  70. data/spec/spec_helpers.rb +1 -1
  71. metadata +80 -21
  72. data/lib/com/fasterxml/jackson/core/jackson-core/2.12.0-rc2/jackson-core-2.12.0-rc2.jar +0 -0
  73. data/lib/com/fasterxml/jackson/core/jackson-databind/2.12.0-rc2/jackson-databind-2.12.0-rc2.jar +0 -0
  74. data/lib/com/google/guava/guava/20.0/guava-20.0.jar +0 -0
  75. data/lib/com/microsoft/azure/azure-keyvault-core/1.0.0/azure-keyvault-core-1.0.0.jar +0 -0
  76. data/lib/com/microsoft/azure/azure-storage/8.6.5/azure-storage-8.6.5.jar +0 -0
  77. data/lib/com/microsoft/azure/kusto/kusto-data/2.8.2/kusto-data-2.8.2.jar +0 -0
  78. data/lib/com/microsoft/azure/kusto/kusto-ingest/2.8.2/kusto-ingest-2.8.2.jar +0 -0
  79. data/lib/com/microsoft/azure/msal4j/1.9.1/msal4j-1.9.1.jar +0 -0
  80. data/lib/com/nimbusds/lang-tag/1.4.4/lang-tag-1.4.4.jar +0 -0
  81. data/lib/com/nimbusds/nimbus-jose-jwt/8.18/nimbus-jose-jwt-8.18.jar +0 -0
  82. data/lib/com/nimbusds/oauth2-oidc-sdk/8.23.1/oauth2-oidc-sdk-8.23.1.jar +0 -0
  83. data/lib/net/minidev/accessors-smart/1.2/accessors-smart-1.2.jar +0 -0
  84. data/lib/net/minidev/json-smart/2.3/json-smart-2.3.jar +0 -0
  85. data/lib/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f4f0805b6e28218a48ab6e8c9a9e221159608822325a5214b8cab999d7e5087
4
- data.tar.gz: b6047c0f83b309d6e0d3548a83c022a3471ad146818c97d9dc4f5a0699bd7a8c
3
+ metadata.gz: d0c02170a8a1c426975e2d6ecccf2aafee37a5854bbe0f561683bcdb27c5b92b
4
+ data.tar.gz: f1c656fc23c2dec86f8a160409021993ca9d3158150084c377f94de0411f3c64
5
5
  SHA512:
6
- metadata.gz: af9b2120d73ea4fb679301e13a8013898662fcba3b81123b16e605016c50991dee0ed040b32fc377f3e4678e18072e1c10861e7b5a517ec8a2716bdd775c8e5d
7
- data.tar.gz: 5feebae8a40a0d298c989b7f99dba80d068ec0f42f46d472e37c261145631dbf803b5fd4571fc4f2d1450f83a3702cdf36b1fabcf4cfb310a49e9f0439ce505c
6
+ metadata.gz: 0bc36e11ea8ab73e6124e74660b6151d57807bce9b326f7c208ccaa86407d4875c42d51a14e64e6b742c0c30a71dea8b4cdb10d12af68eb8f27357c723821a3a
7
+ data.tar.gz: 968894881afa4e55deeac8924bd98f84e9bee3181afbd0dc530821db265997505b61dd53c71b9a46a8775c691369ccdc9704486461cacebc4cc68ef0d0851ee8
data/Gemfile CHANGED
@@ -14,6 +14,8 @@ if Dir.exist?(logstash_path) && use_logstash_source
14
14
  gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
15
15
  else
16
16
  puts "using default logstash"
17
+ gem 'logstash-core'
18
+ gem 'logstash-core-plugin-api'
17
19
  end
18
20
 
19
21
  gem "rspec"
data/README.md CHANGED
@@ -64,6 +64,8 @@ More information about configuring Logstash can be found in the [logstash config
64
64
  - JRuby 9.2 or higher, defined with openjdk 8 64bit
65
65
  - Logstash, defined with openjdk 8 64bit
66
66
 
67
+ *It is reccomened to use the bundled jdk and jruby with logstash to avoid compatibility issues.*
68
+
67
69
  To fully build the gem, run:
68
70
 
69
71
  ```shell
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'logstash/outputs/base'
3
+ require 'logstash/outputs/base'
4
4
  require 'logstash/namespace'
5
5
  require 'logstash/errors'
6
6
 
@@ -34,13 +34,13 @@ 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
- kusto_connection_string.setClientVersionForTracing(name_for_tracing)
37
+ kusto_connection_string.setClientVersionForTracing(name_for_tracing)
38
38
 
39
39
  @kusto_client = kusto_java.ingest.IngestClientFactory.createClient(kusto_connection_string)
40
40
 
41
41
  @ingestion_properties = kusto_java.ingest.IngestionProperties.new(database, table)
42
- @ingestion_properties.setIngestionMapping(json_mapping, kusto_java.ingest.IngestionMapping::IngestionMappingKind::Json)
43
- @ingestion_properties.setDataFormat(kusto_java.ingest.IngestionProperties::DATA_FORMAT::json)
42
+ @ingestion_properties.setIngestionMapping(json_mapping, kusto_java.ingest.IngestionMapping::IngestionMappingKind::JSON)
43
+ @ingestion_properties.setDataFormat(kusto_java.ingest.IngestionProperties::DataFormat::JSON)
44
44
  @delete_local = delete_local
45
45
 
46
46
  @logger.debug('Kusto resources are ready.')
@@ -2,59 +2,149 @@
2
2
  begin
3
3
  require 'jar_dependencies'
4
4
  rescue LoadError
5
- require 'com/microsoft/azure/kusto/kusto-data/2.8.2/kusto-data-2.8.2.jar'
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/azure-storage/8.6.6/azure-storage-8.6.6.jar'
8
+ require 'io/projectreactor/netty/reactor-netty-http/1.0.11/reactor-netty-http-1.0.11.jar'
9
+ require 'net/java/dev/jna/jna/5.5.0/jna-5.5.0.jar'
10
+ require 'io/netty/netty-handler-proxy/4.1.68.Final/netty-handler-proxy-4.1.68.Final.jar'
11
+ require 'org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar'
12
+ require 'io/netty/netty-codec-socks/4.1.68.Final/netty-codec-socks-4.1.68.Final.jar'
13
+ require 'org/apache/commons/commons-lang3/3.11/commons-lang3-3.11.jar'
14
+ require 'org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar'
15
+ require 'com/microsoft/azure/azure-keyvault-core/1.2.4/azure-keyvault-core-1.2.4.jar'
16
+ require 'io/github/resilience4j/resilience4j-core/1.7.1/resilience4j-core-1.7.1.jar'
17
+ require 'io/netty/netty-codec-dns/4.1.68.Final/netty-codec-dns-4.1.68.Final.jar'
18
+ require 'com/nimbusds/nimbus-jose-jwt/9.9.3/nimbus-jose-jwt-9.9.3.jar'
19
+ require 'io/netty/netty-transport/4.1.68.Final/netty-transport-4.1.68.Final.jar'
20
+ require 'org/jetbrains/annotations/22.0.0/annotations-22.0.0.jar'
21
+ require 'io/netty/netty-transport-native-unix-common/4.1.68.Final/netty-transport-native-unix-common-4.1.68.Final.jar'
22
+ require 'io/netty/netty-transport-native-epoll/4.1.68.Final/netty-transport-native-epoll-4.1.68.Final-linux-x86_64.jar'
23
+ require 'io/vavr/vavr/0.10.2/vavr-0.10.2.jar'
24
+ require 'io/netty/netty-resolver-dns/4.1.68.Final/netty-resolver-dns-4.1.68.Final.jar'
25
+ require 'com/azure/azure-identity/1.3.7/azure-identity-1.3.7.jar'
26
+ require 'com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.12.5/jackson-module-jaxb-annotations-2.12.5.jar'
27
+ require 'org/apache/commons/commons-text/1.9/commons-text-1.9.jar'
28
+ require 'net/java/dev/jna/jna-platform/5.6.0/jna-platform-5.6.0.jar'
29
+ require 'com/fasterxml/jackson/core/jackson-core/2.13.0/jackson-core-2.13.0.jar'
30
+ require 'io/netty/netty-resolver/4.1.68.Final/netty-resolver-4.1.68.Final.jar'
31
+ require 'jakarta/activation/jakarta.activation-api/1.2.1/jakarta.activation-api-1.2.1.jar'
32
+ require 'commons-logging/commons-logging/1.2/commons-logging-1.2.jar'
33
+ require 'net/minidev/accessors-smart/2.4.7/accessors-smart-2.4.7.jar'
34
+ require 'com/microsoft/azure/kusto/kusto-ingest/3.1.1/kusto-ingest-3.1.1.jar'
35
+ require 'io/netty/netty-codec/4.1.68.Final/netty-codec-4.1.68.Final.jar'
36
+ require 'commons-codec/commons-codec/1.11/commons-codec-1.11.jar'
37
+ require 'com/microsoft/azure/msal4j-persistence-extension/1.1.0/msal4j-persistence-extension-1.1.0.jar'
38
+ require 'com/fasterxml/woodstox/woodstox-core/6.2.4/woodstox-core-6.2.4.jar'
6
39
  require 'com/github/stephenc/jcip/jcip-annotations/1.0-1/jcip-annotations-1.0-1.jar'
7
- require 'com/nimbusds/lang-tag/1.4.4/lang-tag-1.4.4.jar'
8
- require 'com/fasterxml/jackson/core/jackson-core/2.12.0-rc2/jackson-core-2.12.0-rc2.jar'
9
- require 'com/nimbusds/oauth2-oidc-sdk/8.23.1/oauth2-oidc-sdk-8.23.1.jar'
10
- require 'net/minidev/json-smart/2.3/json-smart-2.3.jar'
40
+ require 'com/fasterxml/jackson/core/jackson-databind/2.13.0/jackson-databind-2.13.0.jar'
41
+ require 'io/netty/netty-transport-native-kqueue/4.1.68.Final/netty-transport-native-kqueue-4.1.68.Final-osx-x86_64.jar'
42
+ require 'io/netty/netty-handler/4.1.68.Final/netty-handler-4.1.68.Final.jar'
43
+ require 'com/fasterxml/jackson/core/jackson-annotations/2.13.0/jackson-annotations-2.13.0.jar'
44
+ require 'com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar'
45
+ require 'org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar'
46
+ require 'com/microsoft/azure/kusto/kusto-data/3.1.1/kusto-data-3.1.1.jar'
11
47
  require 'org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar'
12
- require 'org/apache/commons/commons-lang3/3.11/commons-lang3-3.11.jar'
13
- require 'org/jetbrains/annotations/20.1.0/annotations-20.1.0.jar'
14
- require 'net/minidev/accessors-smart/1.2/accessors-smart-1.2.jar'
15
- require 'com/nimbusds/nimbus-jose-jwt/8.18/nimbus-jose-jwt-8.18.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'
16
55
  require 'org/json/json/20201115/json-20201115.jar'
17
- require 'com/fasterxml/jackson/core/jackson-annotations/2.12.0-rc2/jackson-annotations-2.12.0-rc2.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'
18
64
  require 'com/univocity/univocity-parsers/2.9.1/univocity-parsers-2.9.1.jar'
19
- require 'org/ow2/asm/asm/5.0.4/asm-5.0.4.jar'
65
+ require 'io/vavr/vavr-match/0.10.2/vavr-match-0.10.2.jar'
20
66
  require 'com/nimbusds/content-type/2.1/content-type-2.1.jar'
21
67
  require 'org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar'
22
- require 'com/microsoft/azure/azure-storage/8.6.5/azure-storage-8.6.5.jar'
23
- require 'com/fasterxml/jackson/core/jackson-databind/2.12.0-rc2/jackson-databind-2.12.0-rc2.jar'
24
- require 'com/microsoft/azure/azure-keyvault-core/1.0.0/azure-keyvault-core-1.0.0.jar'
25
- require 'com/google/guava/guava/20.0/guava-20.0.jar'
26
- require 'commons-logging/commons-logging/1.2/commons-logging-1.2.jar'
27
- require 'com/microsoft/azure/msal4j/1.9.1/msal4j-1.9.1.jar'
28
- require 'commons-codec/commons-codec/1.11/commons-codec-1.11.jar'
29
- require 'com/microsoft/azure/kusto/kusto-ingest/2.8.2/kusto-ingest-2.8.2.jar'
30
- require 'org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.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'
31
76
  end
32
77
 
33
78
  if defined? Jars
34
- require_jar 'com.microsoft.azure.kusto', 'kusto-data', '2.8.2'
79
+ require_jar 'io.netty', 'netty-resolver-dns-native-macos', 'osx-x86_64', '4.1.68.Final'
80
+ require_jar 'com.google.guava', 'guava', '24.1.1-jre'
81
+ require_jar 'com.microsoft.azure', 'azure-storage', '8.6.6'
82
+ require_jar 'io.projectreactor.netty', 'reactor-netty-http', '1.0.11'
83
+ require_jar 'net.java.dev.jna', 'jna', '5.5.0'
84
+ require_jar 'io.netty', 'netty-handler-proxy', '4.1.68.Final'
85
+ require_jar 'org.codehaus.mojo', 'animal-sniffer-annotations', '1.14'
86
+ require_jar 'io.netty', 'netty-codec-socks', '4.1.68.Final'
87
+ require_jar 'org.apache.commons', 'commons-lang3', '3.11'
88
+ require_jar 'org.reactivestreams', 'reactive-streams', '1.0.3'
89
+ require_jar 'com.microsoft.azure', 'azure-keyvault-core', '1.2.4'
90
+ require_jar 'io.github.resilience4j', 'resilience4j-core', '1.7.1'
91
+ require_jar 'io.netty', 'netty-codec-dns', '4.1.68.Final'
92
+ require_jar 'com.nimbusds', 'nimbus-jose-jwt', '9.9.3'
93
+ require_jar 'io.netty', 'netty-transport', '4.1.68.Final'
94
+ require_jar 'org.jetbrains', 'annotations', '22.0.0'
95
+ require_jar 'io.netty', 'netty-transport-native-unix-common', '4.1.68.Final'
96
+ require_jar 'io.netty', 'netty-transport-native-epoll', 'linux-x86_64', '4.1.68.Final'
97
+ require_jar 'io.vavr', 'vavr', '0.10.2'
98
+ require_jar 'io.netty', 'netty-resolver-dns', '4.1.68.Final'
99
+ require_jar 'com.azure', 'azure-identity', '1.3.7'
100
+ require_jar 'com.fasterxml.jackson.module', 'jackson-module-jaxb-annotations', '2.12.5'
101
+ require_jar 'org.apache.commons', 'commons-text', '1.9'
102
+ require_jar 'net.java.dev.jna', 'jna-platform', '5.6.0'
103
+ require_jar 'com.fasterxml.jackson.core', 'jackson-core', '2.13.0'
104
+ require_jar 'io.netty', 'netty-resolver', '4.1.68.Final'
105
+ require_jar 'jakarta.activation', 'jakarta.activation-api', '1.2.1'
106
+ require_jar 'commons-logging', 'commons-logging', '1.2'
107
+ require_jar 'net.minidev', 'accessors-smart', '2.4.7'
108
+ require_jar 'com.microsoft.azure.kusto', 'kusto-ingest', '3.1.1'
109
+ require_jar 'io.netty', 'netty-codec', '4.1.68.Final'
110
+ require_jar 'commons-codec', 'commons-codec', '1.11'
111
+ require_jar 'com.microsoft.azure', 'msal4j-persistence-extension', '1.1.0'
112
+ require_jar 'com.fasterxml.woodstox', 'woodstox-core', '6.2.4'
35
113
  require_jar 'com.github.stephenc.jcip', 'jcip-annotations', '1.0-1'
36
- require_jar 'com.nimbusds', 'lang-tag', '1.4.4'
37
- require_jar 'com.fasterxml.jackson.core', 'jackson-core', '2.12.0-rc2'
38
- require_jar 'com.nimbusds', 'oauth2-oidc-sdk', '8.23.1'
39
- require_jar 'net.minidev', 'json-smart', '2.3'
114
+ require_jar 'com.fasterxml.jackson.core', 'jackson-databind', '2.13.0'
115
+ require_jar 'io.netty', 'netty-transport-native-kqueue', 'osx-x86_64', '4.1.68.Final'
116
+ require_jar 'io.netty', 'netty-handler', '4.1.68.Final'
117
+ require_jar 'com.fasterxml.jackson.core', 'jackson-annotations', '2.13.0'
118
+ require_jar 'com.google.code.findbugs', 'jsr305', '1.3.9'
119
+ require_jar 'org.checkerframework', 'checker-compat-qual', '2.0.0'
120
+ require_jar 'com.microsoft.azure.kusto', 'kusto-data', '3.1.1'
40
121
  require_jar 'org.apache.httpcomponents', 'httpclient', '4.5.13'
41
- require_jar 'org.apache.commons', 'commons-lang3', '3.11'
42
- require_jar 'org.jetbrains', 'annotations', '20.1.0'
43
- require_jar 'net.minidev', 'accessors-smart', '1.2'
44
- require_jar 'com.nimbusds', 'nimbus-jose-jwt', '8.18'
122
+ require_jar 'com.google.j2objc', 'j2objc-annotations', '1.1'
123
+ require_jar 'io.netty', 'netty-codec-http', '4.1.68.Final'
124
+ require_jar 'com.fasterxml.jackson.dataformat', 'jackson-dataformat-xml', '2.12.5'
125
+ require_jar 'org.ow2.asm', 'asm', '9.1'
126
+ require_jar 'com.azure', 'azure-core-http-netty', '1.11.1'
127
+ require_jar 'com.fasterxml.jackson.datatype', 'jackson-datatype-jsr310', '2.12.5'
128
+ require_jar 'org.codehaus.woodstox', 'stax2-api', '4.2.1'
45
129
  require_jar 'org.json', 'json', '20201115'
46
- require_jar 'com.fasterxml.jackson.core', 'jackson-annotations', '2.12.0-rc2'
130
+ require_jar 'io.netty', 'netty-tcnative-boringssl-static', '2.0.43.Final'
131
+ require_jar 'io.netty', 'netty-common', '4.1.68.Final'
132
+ require_jar 'net.minidev', 'json-smart', '2.4.7'
133
+ require_jar 'io.projectreactor', 'reactor-core', '3.4.10'
134
+ require_jar 'io.netty', 'netty-buffer', '4.1.68.Final'
135
+ require_jar 'jakarta.xml.bind', 'jakarta.xml.bind-api', '2.3.2'
136
+ require_jar 'io.github.resilience4j', 'resilience4j-retry', '1.7.1'
137
+ require_jar 'com.google.errorprone', 'error_prone_annotations', '2.1.3'
47
138
  require_jar 'com.univocity', 'univocity-parsers', '2.9.1'
48
- require_jar 'org.ow2.asm', 'asm', '5.0.4'
139
+ require_jar 'io.vavr', 'vavr-match', '0.10.2'
49
140
  require_jar 'com.nimbusds', 'content-type', '2.1'
50
141
  require_jar 'org.slf4j', 'slf4j-api', '1.8.0-beta4'
51
- require_jar 'com.microsoft.azure', 'azure-storage', '8.6.5'
52
- require_jar 'com.fasterxml.jackson.core', 'jackson-databind', '2.12.0-rc2'
53
- require_jar 'com.microsoft.azure', 'azure-keyvault-core', '1.0.0'
54
- require_jar 'com.google.guava', 'guava', '20.0'
55
- require_jar 'commons-logging', 'commons-logging', '1.2'
56
- require_jar 'com.microsoft.azure', 'msal4j', '1.9.1'
57
- require_jar 'commons-codec', 'commons-codec', '1.11'
58
- require_jar 'com.microsoft.azure.kusto', 'kusto-ingest', '2.8.2'
59
- require_jar 'org.apache.httpcomponents', 'httpcore', '4.4.13'
142
+ require_jar 'com.microsoft.azure', 'msal4j', '1.11.0'
143
+ require_jar 'com.nimbusds', 'lang-tag', '1.5'
144
+ require_jar 'com.azure', 'azure-core', '1.21.0'
145
+ require_jar 'com.nimbusds', 'oauth2-oidc-sdk', '9.7'
146
+ require_jar 'org.apache.httpcomponents', 'httpcore', '4.4.15'
147
+ require_jar 'io.netty', 'netty-codec-http2', '4.1.68.Final'
148
+ require_jar 'org.slf4j', 'slf4j-simple', '1.8.0-beta4'
149
+ require_jar 'io.projectreactor.netty', 'reactor-netty-core', '1.0.11'
60
150
  end
Binary file
@@ -1,6 +1,6 @@
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 = '1.0.3'
3
+ s.version = '1.0.4'
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)'
@@ -28,8 +28,9 @@ Gem::Specification.new do |s|
28
28
  s.add_development_dependency 'flores'
29
29
  s.add_development_dependency 'logstash-input-generator'
30
30
  s.add_development_dependency 'ruby-maven', '~> 3.3.11'
31
+ s.add_development_dependency 'rspec_junit_formatter'
31
32
 
32
33
  # Jar dependencies
33
- s.requirements << "jar 'com.microsoft.azure.kusto, kusto-ingest, 2.8.2"
34
+ s.requirements << "jar 'com.microsoft.azure.kusto, kusto-ingest, 3.1.1'"
34
35
  s.add_runtime_dependency 'jar-dependencies'
35
36
  end
@@ -1,5 +1,4 @@
1
1
  # encoding: utf-8
2
- require 'logstash/devutils/rspec/spec_helper'
3
2
  require 'logstash/outputs/kusto'
4
3
  require 'logstash/codecs/plain'
5
4
  require 'logstash/event'
@@ -10,7 +9,7 @@ describe LogStash::Outputs::Kusto do
10
9
  "ingest_url" => "https://ingest-sdkse2etest.eastus.kusto.windows.net/",
11
10
  "app_id" => "myid",
12
11
  "app_key" => "mykey",
13
- "app_tenant" => "mytenant",
12
+ "app_tenant" => "mytenant",
14
13
  "database" => "mydatabase",
15
14
  "table" => "mytable",
16
15
  "json_mapping" => "mymapping"
@@ -50,5 +49,5 @@ describe LogStash::Outputs::Kusto do
50
49
  end
51
50
 
52
51
  end
53
-
52
+
54
53
  end
data/spec/spec_helpers.rb CHANGED
@@ -18,4 +18,4 @@ RSpec.configure do |config|
18
18
  $stdout = STDOUT
19
19
  $stderr = STDERR
20
20
  end
21
- end
21
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-kusto
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: java
6
6
  authors:
7
7
  - Tamir Kamara
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-07-05 00:00:00.000000000 Z
12
+ date: 2022-06-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  requirement: !ruby/object:Gem::Requirement
@@ -109,6 +109,20 @@ dependencies:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
111
  version: 3.3.11
112
+ - !ruby/object:Gem::Dependency
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ name: rspec_junit_formatter
119
+ prerelease: false
120
+ type: :development
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
112
126
  - !ruby/object:Gem::Dependency
113
127
  requirement: !ruby/object:Gem::Requirement
114
128
  requirements:
@@ -135,36 +149,81 @@ files:
135
149
  - Gemfile
136
150
  - LICENSE
137
151
  - README.md
138
- - lib/com/fasterxml/jackson/core/jackson-annotations/2.12.0-rc2/jackson-annotations-2.12.0-rc2.jar
139
- - lib/com/fasterxml/jackson/core/jackson-core/2.12.0-rc2/jackson-core-2.12.0-rc2.jar
140
- - lib/com/fasterxml/jackson/core/jackson-databind/2.12.0-rc2/jackson-databind-2.12.0-rc2.jar
152
+ - lib/com/azure/azure-core-http-netty/1.11.1/azure-core-http-netty-1.11.1.jar
153
+ - lib/com/azure/azure-core/1.21.0/azure-core-1.21.0.jar
154
+ - lib/com/azure/azure-identity/1.3.7/azure-identity-1.3.7.jar
155
+ - lib/com/fasterxml/jackson/core/jackson-annotations/2.13.0/jackson-annotations-2.13.0.jar
156
+ - lib/com/fasterxml/jackson/core/jackson-core/2.13.0/jackson-core-2.13.0.jar
157
+ - lib/com/fasterxml/jackson/core/jackson-databind/2.13.0/jackson-databind-2.13.0.jar
158
+ - lib/com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.12.5/jackson-dataformat-xml-2.12.5.jar
159
+ - lib/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.12.5/jackson-datatype-jsr310-2.12.5.jar
160
+ - lib/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.12.5/jackson-module-jaxb-annotations-2.12.5.jar
161
+ - lib/com/fasterxml/woodstox/woodstox-core/6.2.4/woodstox-core-6.2.4.jar
141
162
  - lib/com/github/stephenc/jcip/jcip-annotations/1.0-1/jcip-annotations-1.0-1.jar
142
- - lib/com/google/guava/guava/20.0/guava-20.0.jar
143
- - lib/com/microsoft/azure/azure-keyvault-core/1.0.0/azure-keyvault-core-1.0.0.jar
144
- - lib/com/microsoft/azure/azure-storage/8.6.5/azure-storage-8.6.5.jar
145
- - lib/com/microsoft/azure/kusto/kusto-data/2.8.2/kusto-data-2.8.2.jar
146
- - lib/com/microsoft/azure/kusto/kusto-ingest/2.8.2/kusto-ingest-2.8.2.jar
147
- - lib/com/microsoft/azure/msal4j/1.9.1/msal4j-1.9.1.jar
163
+ - lib/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
164
+ - lib/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar
165
+ - lib/com/google/guava/guava/24.1.1-jre/guava-24.1.1-jre.jar
166
+ - lib/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar
167
+ - lib/com/microsoft/azure/azure-keyvault-core/1.2.4/azure-keyvault-core-1.2.4.jar
168
+ - lib/com/microsoft/azure/azure-storage/8.6.6/azure-storage-8.6.6.jar
169
+ - lib/com/microsoft/azure/kusto/kusto-data/3.1.1/kusto-data-3.1.1.jar
170
+ - lib/com/microsoft/azure/kusto/kusto-ingest/3.1.1/kusto-ingest-3.1.1.jar
171
+ - lib/com/microsoft/azure/msal4j-persistence-extension/1.1.0/msal4j-persistence-extension-1.1.0.jar
172
+ - lib/com/microsoft/azure/msal4j/1.11.0/msal4j-1.11.0.jar
148
173
  - lib/com/nimbusds/content-type/2.1/content-type-2.1.jar
149
- - lib/com/nimbusds/lang-tag/1.4.4/lang-tag-1.4.4.jar
150
- - lib/com/nimbusds/nimbus-jose-jwt/8.18/nimbus-jose-jwt-8.18.jar
151
- - lib/com/nimbusds/oauth2-oidc-sdk/8.23.1/oauth2-oidc-sdk-8.23.1.jar
174
+ - lib/com/nimbusds/lang-tag/1.5/lang-tag-1.5.jar
175
+ - lib/com/nimbusds/nimbus-jose-jwt/9.9.3/nimbus-jose-jwt-9.9.3.jar
176
+ - lib/com/nimbusds/oauth2-oidc-sdk/9.7/oauth2-oidc-sdk-9.7.jar
152
177
  - lib/com/univocity/univocity-parsers/2.9.1/univocity-parsers-2.9.1.jar
153
178
  - lib/commons-codec/commons-codec/1.11/commons-codec-1.11.jar
154
179
  - lib/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
180
+ - lib/io/github/resilience4j/resilience4j-core/1.7.1/resilience4j-core-1.7.1.jar
181
+ - lib/io/github/resilience4j/resilience4j-retry/1.7.1/resilience4j-retry-1.7.1.jar
182
+ - lib/io/netty/netty-buffer/4.1.68.Final/netty-buffer-4.1.68.Final.jar
183
+ - lib/io/netty/netty-codec-dns/4.1.68.Final/netty-codec-dns-4.1.68.Final.jar
184
+ - lib/io/netty/netty-codec-http/4.1.68.Final/netty-codec-http-4.1.68.Final.jar
185
+ - lib/io/netty/netty-codec-http2/4.1.68.Final/netty-codec-http2-4.1.68.Final.jar
186
+ - lib/io/netty/netty-codec-socks/4.1.68.Final/netty-codec-socks-4.1.68.Final.jar
187
+ - lib/io/netty/netty-codec/4.1.68.Final/netty-codec-4.1.68.Final.jar
188
+ - lib/io/netty/netty-common/4.1.68.Final/netty-common-4.1.68.Final.jar
189
+ - lib/io/netty/netty-handler-proxy/4.1.68.Final/netty-handler-proxy-4.1.68.Final.jar
190
+ - lib/io/netty/netty-handler/4.1.68.Final/netty-handler-4.1.68.Final.jar
191
+ - 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
192
+ - lib/io/netty/netty-resolver-dns/4.1.68.Final/netty-resolver-dns-4.1.68.Final.jar
193
+ - lib/io/netty/netty-resolver/4.1.68.Final/netty-resolver-4.1.68.Final.jar
194
+ - lib/io/netty/netty-tcnative-boringssl-static/2.0.43.Final/netty-tcnative-boringssl-static-2.0.43.Final.jar
195
+ - lib/io/netty/netty-transport-native-epoll/4.1.68.Final/netty-transport-native-epoll-4.1.68.Final-linux-x86_64.jar
196
+ - lib/io/netty/netty-transport-native-kqueue/4.1.68.Final/netty-transport-native-kqueue-4.1.68.Final-osx-x86_64.jar
197
+ - lib/io/netty/netty-transport-native-unix-common/4.1.68.Final/netty-transport-native-unix-common-4.1.68.Final.jar
198
+ - lib/io/netty/netty-transport/4.1.68.Final/netty-transport-4.1.68.Final.jar
199
+ - lib/io/projectreactor/netty/reactor-netty-core/1.0.11/reactor-netty-core-1.0.11.jar
200
+ - lib/io/projectreactor/netty/reactor-netty-http/1.0.11/reactor-netty-http-1.0.11.jar
201
+ - lib/io/projectreactor/reactor-core/3.4.10/reactor-core-3.4.10.jar
202
+ - lib/io/vavr/vavr-match/0.10.2/vavr-match-0.10.2.jar
203
+ - lib/io/vavr/vavr/0.10.2/vavr-0.10.2.jar
204
+ - lib/jakarta/activation/jakarta.activation-api/1.2.1/jakarta.activation-api-1.2.1.jar
205
+ - lib/jakarta/xml/bind/jakarta.xml.bind-api/2.3.2/jakarta.xml.bind-api-2.3.2.jar
155
206
  - lib/logstash-output-kusto_jars.rb
156
207
  - lib/logstash/outputs/kusto.rb
157
208
  - lib/logstash/outputs/kusto/ingestor.rb
158
209
  - lib/logstash/outputs/kusto/interval.rb
159
- - lib/net/minidev/accessors-smart/1.2/accessors-smart-1.2.jar
160
- - lib/net/minidev/json-smart/2.3/json-smart-2.3.jar
210
+ - lib/net/java/dev/jna/jna-platform/5.6.0/jna-platform-5.6.0.jar
211
+ - lib/net/java/dev/jna/jna/5.5.0/jna-5.5.0.jar
212
+ - lib/net/minidev/accessors-smart/2.4.7/accessors-smart-2.4.7.jar
213
+ - lib/net/minidev/json-smart/2.4.7/json-smart-2.4.7.jar
161
214
  - lib/org/apache/commons/commons-lang3/3.11/commons-lang3-3.11.jar
215
+ - lib/org/apache/commons/commons-text/1.9/commons-text-1.9.jar
162
216
  - lib/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar
163
- - lib/org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.jar
164
- - lib/org/jetbrains/annotations/20.1.0/annotations-20.1.0.jar
217
+ - lib/org/apache/httpcomponents/httpcore/4.4.15/httpcore-4.4.15.jar
218
+ - lib/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar
219
+ - lib/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar
220
+ - lib/org/codehaus/woodstox/stax2-api/4.2.1/stax2-api-4.2.1.jar
221
+ - lib/org/jetbrains/annotations/22.0.0/annotations-22.0.0.jar
165
222
  - lib/org/json/json/20201115/json-20201115.jar
166
- - lib/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar
223
+ - lib/org/ow2/asm/asm/9.1/asm-9.1.jar
224
+ - lib/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar
167
225
  - lib/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar
226
+ - lib/org/slf4j/slf4j-simple/1.8.0-beta4/slf4j-simple-1.8.0-beta4.jar
168
227
  - logstash-output-kusto.gemspec
169
228
  - spec/outputs/kusto/ingestor_spec.rb
170
229
  - spec/outputs/kusto_spec.rb
@@ -190,8 +249,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
249
  - !ruby/object:Gem::Version
191
250
  version: '0'
192
251
  requirements:
193
- - jar 'com.microsoft.azure.kusto, kusto-ingest, 2.8.2
194
- rubygems_version: 3.1.6
252
+ - jar 'com.microsoft.azure.kusto, kusto-ingest, 3.1.1'
253
+ rubygems_version: 3.2.29
195
254
  signing_key:
196
255
  specification_version: 4
197
256
  summary: Writes events to Azure Data Explorer (Kusto)