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.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -16
  3. data/CONTRIBUTORS +0 -0
  4. data/Gemfile +2 -13
  5. data/LICENSE +0 -0
  6. data/README.md +8 -0
  7. data/SECURITY.md +0 -0
  8. data/lib/logstash/outputs/kusto/ingestor.rb +5 -1
  9. data/lib/logstash/outputs/kusto/interval.rb +0 -0
  10. data/lib/logstash/outputs/kusto.rb +0 -0
  11. data/lib/logstash-output-kusto_jars.rb +72 -149
  12. data/logstash-output-kusto.gemspec +7 -8
  13. data/spec/outputs/kusto/ingestor_spec.rb +0 -0
  14. data/spec/outputs/kusto_spec.rb +0 -0
  15. data/spec/spec_helpers.rb +0 -0
  16. data/vendor/jar-dependencies/com/azure/azure-core/1.41.0/azure-core-1.41.0.jar +0 -0
  17. data/vendor/jar-dependencies/com/azure/azure-core-http-netty/1.13.5/azure-core-http-netty-1.13.5.jar +0 -0
  18. data/vendor/jar-dependencies/com/azure/azure-data-tables/12.3.13/azure-data-tables-12.3.13.jar +0 -0
  19. data/vendor/jar-dependencies/com/azure/azure-identity/1.9.2/azure-identity-1.9.2.jar +0 -0
  20. data/vendor/jar-dependencies/com/azure/azure-json/1.0.1/azure-json-1.0.1.jar +0 -0
  21. data/vendor/jar-dependencies/com/azure/azure-storage-blob/12.23.0/azure-storage-blob-12.23.0.jar +0 -0
  22. data/vendor/jar-dependencies/com/azure/azure-storage-common/12.22.0/azure-storage-common-12.22.0.jar +0 -0
  23. data/vendor/jar-dependencies/com/azure/azure-storage-internal-avro/12.8.0/azure-storage-internal-avro-12.8.0.jar +0 -0
  24. data/vendor/jar-dependencies/com/azure/azure-storage-queue/12.18.0/azure-storage-queue-12.18.0.jar +0 -0
  25. 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
  26. data/vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-core/2.14.2/jackson-core-2.14.2.jar +0 -0
  27. 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
  28. data/vendor/jar-dependencies/com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.14.2/jackson-dataformat-xml-2.14.2.jar +0 -0
  29. data/vendor/jar-dependencies/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.14.2/jackson-datatype-jsr310-2.14.2.jar +0 -0
  30. 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
  31. data/vendor/jar-dependencies/com/microsoft/azure/kusto/kusto-data/5.0.2/kusto-data-5.0.2.jar +0 -0
  32. data/vendor/jar-dependencies/com/microsoft/azure/kusto/kusto-ingest/5.0.2/kusto-ingest-5.0.2.jar +0 -0
  33. data/vendor/jar-dependencies/com/microsoft/azure/msal4j/1.13.8/msal4j-1.13.8.jar +0 -0
  34. 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
  35. data/vendor/jar-dependencies/com/nimbusds/content-type/2.2/content-type-2.2.jar +0 -0
  36. data/vendor/jar-dependencies/com/nimbusds/lang-tag/1.7/lang-tag-1.7.jar +0 -0
  37. data/vendor/jar-dependencies/com/nimbusds/nimbus-jose-jwt/9.30.2/nimbus-jose-jwt-9.30.2.jar +0 -0
  38. data/vendor/jar-dependencies/com/nimbusds/oauth2-oidc-sdk/10.7.1/oauth2-oidc-sdk-10.7.1.jar +0 -0
  39. data/vendor/jar-dependencies/commons-codec/commons-codec/1.13/commons-codec-1.13.jar +0 -0
  40. data/vendor/jar-dependencies/io/netty/netty-buffer/4.1.94.Final/netty-buffer-4.1.94.Final.jar +0 -0
  41. 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
  42. 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
  43. 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
  44. 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
  45. data/vendor/jar-dependencies/io/netty/netty-codec-socks/4.1.94.Final/netty-codec-socks-4.1.94.Final.jar +0 -0
  46. data/vendor/jar-dependencies/io/netty/netty-common/4.1.94.Final/netty-common-4.1.94.Final.jar +0 -0
  47. 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
  48. 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
  49. 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
  50. data/vendor/jar-dependencies/io/netty/netty-resolver-dns/4.1.94.Final/netty-resolver-dns-4.1.94.Final.jar +0 -0
  51. 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
  52. 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
  53. 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
  54. data/vendor/jar-dependencies/io/netty/netty-tcnative-classes/2.0.61.Final/netty-tcnative-classes-2.0.61.Final.jar +0 -0
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. data/vendor/jar-dependencies/io/projectreactor/netty/reactor-netty-core/1.0.33/reactor-netty-core-1.0.33.jar +0 -0
  62. data/vendor/jar-dependencies/io/projectreactor/netty/reactor-netty-http/1.0.33/reactor-netty-http-1.0.33.jar +0 -0
  63. 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
  64. data/vendor/jar-dependencies/net/java/dev/jna/jna/5.13.0/jna-5.13.0.jar +0 -0
  65. data/vendor/jar-dependencies/net/java/dev/jna/jna-platform/5.13.0/jna-platform-5.13.0.jar +0 -0
  66. 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
  67. 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
  68. data/vendor/jar-dependencies/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar +0 -0
  69. data/vendor/jar-dependencies/org/apache/commons/commons-text/1.10.0/commons-text-1.10.0.jar +0 -0
  70. data/vendor/jar-dependencies/org/apache/httpcomponents/httpclient/4.5.14/httpclient-4.5.14.jar +0 -0
  71. data/vendor/jar-dependencies/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar +0 -0
  72. data/vendor/jar-dependencies/org/logstash/outputs/logstash-output-kusto/2.0.0/logstash-output-kusto-2.0.0.jar +0 -0
  73. data/vendor/jar-dependencies/org/ow2/asm/asm/9.3/asm-9.3.jar +0 -0
  74. data/vendor/jar-dependencies/org/reactivestreams/reactive-streams/1.0.4/reactive-streams-1.0.4.jar +0 -0
  75. data/version +1 -0
  76. metadata +103 -97
  77. data/lib/com/azure/azure-core/1.21.0/azure-core-1.21.0.jar +0 -0
  78. data/lib/com/azure/azure-core-http-netty/1.11.1/azure-core-http-netty-1.11.1.jar +0 -0
  79. data/lib/com/azure/azure-identity/1.3.7/azure-identity-1.3.7.jar +0 -0
  80. data/lib/com/fasterxml/jackson/core/jackson-core/2.13.0/jackson-core-2.13.0.jar +0 -0
  81. data/lib/com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.12.5/jackson-dataformat-xml-2.12.5.jar +0 -0
  82. data/lib/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.12.5/jackson-datatype-jsr310-2.12.5.jar +0 -0
  83. data/lib/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.12.5/jackson-module-jaxb-annotations-2.12.5.jar +0 -0
  84. data/lib/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar +0 -0
  85. data/lib/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar +0 -0
  86. data/lib/com/google/guava/guava/24.1.1-jre/guava-24.1.1-jre.jar +0 -0
  87. data/lib/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar +0 -0
  88. data/lib/com/microsoft/azure/azure-keyvault-core/1.2.4/azure-keyvault-core-1.2.4.jar +0 -0
  89. data/lib/com/microsoft/azure/azure-storage/8.6.6/azure-storage-8.6.6.jar +0 -0
  90. data/lib/com/microsoft/azure/kusto/kusto-data/3.1.3/kusto-data-3.1.3.jar +0 -0
  91. data/lib/com/microsoft/azure/kusto/kusto-ingest/3.1.3/kusto-ingest-3.1.3.jar +0 -0
  92. data/lib/com/microsoft/azure/msal4j/1.11.0/msal4j-1.11.0.jar +0 -0
  93. data/lib/com/nimbusds/content-type/2.1/content-type-2.1.jar +0 -0
  94. data/lib/com/nimbusds/lang-tag/1.5/lang-tag-1.5.jar +0 -0
  95. data/lib/com/nimbusds/nimbus-jose-jwt/9.9.3/nimbus-jose-jwt-9.9.3.jar +0 -0
  96. data/lib/com/nimbusds/oauth2-oidc-sdk/9.7/oauth2-oidc-sdk-9.7.jar +0 -0
  97. data/lib/commons-codec/commons-codec/1.11/commons-codec-1.11.jar +0 -0
  98. data/lib/io/netty/netty-buffer/4.1.68.Final/netty-buffer-4.1.68.Final.jar +0 -0
  99. data/lib/io/netty/netty-codec-socks/4.1.68.Final/netty-codec-socks-4.1.68.Final.jar +0 -0
  100. data/lib/io/netty/netty-common/4.1.68.Final/netty-common-4.1.68.Final.jar +0 -0
  101. data/lib/io/netty/netty-resolver-dns/4.1.68.Final/netty-resolver-dns-4.1.68.Final.jar +0 -0
  102. 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
  103. data/lib/io/netty/netty-tcnative-boringssl-static/2.0.43.Final/netty-tcnative-boringssl-static-2.0.43.Final.jar +0 -0
  104. 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
  105. 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
  106. 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
  107. data/lib/io/projectreactor/netty/reactor-netty-core/1.0.11/reactor-netty-core-1.0.11.jar +0 -0
  108. data/lib/io/projectreactor/netty/reactor-netty-http/1.0.11/reactor-netty-http-1.0.11.jar +0 -0
  109. data/lib/jakarta/activation/jakarta.activation-api/1.2.1/jakarta.activation-api-1.2.1.jar +0 -0
  110. data/lib/jakarta/xml/bind/jakarta.xml.bind-api/2.3.2/jakarta.xml.bind-api-2.3.2.jar +0 -0
  111. data/lib/net/java/dev/jna/jna/5.5.0/jna-5.5.0.jar +0 -0
  112. data/lib/net/java/dev/jna/jna-platform/5.6.0/jna-platform-5.6.0.jar +0 -0
  113. data/lib/org/apache/commons/commons-lang3/3.11/commons-lang3-3.11.jar +0 -0
  114. data/lib/org/apache/commons/commons-text/1.9/commons-text-1.9.jar +0 -0
  115. data/lib/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar +0 -0
  116. data/lib/org/apache/httpcomponents/httpcore/4.4.15/httpcore-4.4.15.jar +0 -0
  117. data/lib/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar +0 -0
  118. data/lib/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar +0 -0
  119. data/lib/org/json/json/20201115/json-20201115.jar +0 -0
  120. data/lib/org/ow2/asm/asm/9.1/asm-9.1.jar +0 -0
  121. data/lib/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar +0 -0
  122. /data/{lib → vendor/jar-dependencies}/com/github/stephenc/jcip/jcip-annotations/1.0-1/jcip-annotations-1.0-1.jar +0 -0
  123. /data/{lib → vendor/jar-dependencies}/com/univocity/univocity-parsers/2.9.1/univocity-parsers-2.9.1.jar +0 -0
  124. /data/{lib → vendor/jar-dependencies}/commons-logging/commons-logging/1.2/commons-logging-1.2.jar +0 -0
  125. /data/{lib → vendor/jar-dependencies}/io/github/resilience4j/resilience4j-core/1.7.1/resilience4j-core-1.7.1.jar +0 -0
  126. /data/{lib → vendor/jar-dependencies}/io/github/resilience4j/resilience4j-retry/1.7.1/resilience4j-retry-1.7.1.jar +0 -0
  127. /data/{lib → vendor/jar-dependencies}/io/vavr/vavr/0.10.2/vavr-0.10.2.jar +0 -0
  128. /data/{lib → vendor/jar-dependencies}/io/vavr/vavr-match/0.10.2/vavr-match-0.10.2.jar +0 -0
  129. /data/{lib → vendor/jar-dependencies}/org/codehaus/woodstox/stax2-api/4.2.1/stax2-api-4.2.1.jar +0 -0
  130. /data/{lib → vendor/jar-dependencies}/org/jetbrains/annotations/22.0.0/annotations-22.0.0.jar +0 -0
  131. /data/{lib → vendor/jar-dependencies}/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar +0 -0
  132. /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: 40d2d10177bc99b9da270d95a843ca5490689ac6a9bbdd548744d041e29a557c
4
- data.tar.gz: b5f85499389d432eb0e60e5be23bb75ea7b9c5c43df6a1d1a7e07f3b5fd44c57
3
+ metadata.gz: 440a318e63597ef2146f2c92410908c958968f37c9cfc2955a1d4796dde0b542
4
+ data.tar.gz: ff798ffbcd80a6ffe667b52e5b02b33902eeb7df4b539ea8fcd2bfa9e5134d7a
5
5
  SHA512:
6
- metadata.gz: 82e08571c9c68c67dd7e2c8f653cfce159b01902cee31982ddefa9cea59769510acb25ebf5d3ae2ed18354a7ccae1ba0dcc6b6135940a706447b017d80d520fb
7
- data.tar.gz: b3c7c5860bfe0fea8e7da8d5e5356a56b6dd54733214f46c6492e452580c635da637be223a80723db05c2c496edda4d8b607ebe47138a582b0b1fc8be7e5bd4a
6
+ metadata.gz: c12afb2dad22c7fb06534905439984df4f083519962e2d298d3c4c47448287941a71f9a6eb885f5f6334c3d51466e3b10c4d53fd92b80c46ec33cfa133fb6e3e
7
+ data.tar.gz: 3075d4bac3cabd7f53ff1e28b0826151a69f1e9451d29285f021eaceabb2ba9131e8feabe769cb46ad62298471299261b4359a2512608bf9e9c9e2ab5cc8836b
data/CHANGELOG.md CHANGED
@@ -1,37 +1,42 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.0
3
+ # 2.0.0
4
4
 
5
- - Plugin created with the logstash plugin generator
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
- ## 0.1.6
8
+ # 1.0.5
8
9
 
9
- - plugin published to the public. supports ingestion json events into a specific table-database (without dynamic routing currently)
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
- ## 0.1.7
13
+ # 1.0.0
12
14
 
13
- - fixed app_key (password) bug, include 0.1.7 of the kusto-java-sdk to allow working through a proxy
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.2.0
18
+ ## 0.4.0
16
19
 
17
- - move to version 1.0.0-BETA-01 of azure-kusto-java sdk
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.4.0
27
+ ## 0.2.0
25
28
 
26
- - set 'client name for tracing' to identify usage of this plugin on Kusto logs
29
+ - move to version 1.0.0-BETA-01 of azure-kusto-java sdk
27
30
 
28
- # 1.0.0
31
+ ## 0.1.7
29
32
 
30
- - Use stable (2.1.2) version of the java sdk, and retrieve it from maven with bundler.
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
- # 1.0.5
37
+ - plugin published to the public. supports ingestion json events into a specific table-database (without dynamic routing currently)
35
38
 
36
- - Use (3.1.3) version of the java sdk, and retrieve it from maven with bundler.
37
- - Added support for `proxy_host` `proxy_port` `proxy_protocol` to support proxying ingestion to Kusto
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
- else
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
- kusto_connection_string.setClientVersionForTracing(name_for_tracing)
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
- # this is a generated file, to avoid over-writing it just delete this comment
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
- if defined? Jars
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.kusto', 'kusto-data', '3.1.3'
82
- require_jar 'com.microsoft.azure', 'azure-storage', '8.6.6'
83
- require_jar 'com.microsoft.azure.kusto', 'kusto-ingest', '3.1.3'
84
- require_jar 'io.projectreactor.netty', 'reactor-netty-http', '1.0.11'
85
- require_jar 'net.java.dev.jna', 'jna', '5.5.0'
86
- require_jar 'io.netty', 'netty-handler-proxy', '4.1.68.Final'
87
- require_jar 'org.codehaus.mojo', 'animal-sniffer-annotations', '1.14'
88
- require_jar 'io.netty', 'netty-codec-socks', '4.1.68.Final'
89
- require_jar 'org.apache.commons', 'commons-lang3', '3.11'
90
- require_jar 'org.reactivestreams', 'reactive-streams', '1.0.3'
91
- require_jar 'com.microsoft.azure', 'azure-keyvault-core', '1.2.4'
92
- require_jar 'io.github.resilience4j', 'resilience4j-core', '1.7.1'
93
- require_jar 'io.netty', 'netty-codec-dns', '4.1.68.Final'
94
- require_jar 'com.nimbusds', 'nimbus-jose-jwt', '9.9.3'
95
- require_jar 'io.netty', 'netty-transport', '4.1.68.Final'
96
- require_jar 'org.jetbrains', 'annotations', '22.0.0'
97
- require_jar 'io.netty', 'netty-transport-native-unix-common', '4.1.68.Final'
98
- require_jar 'io.netty', 'netty-transport-native-epoll', 'linux-x86_64', '4.1.68.Final'
99
- require_jar 'io.vavr', 'vavr', '0.10.2'
100
- require_jar 'io.netty', 'netty-resolver-dns', '4.1.68.Final'
101
- require_jar 'com.azure', 'azure-identity', '1.3.7'
102
- require_jar 'com.fasterxml.jackson.module', 'jackson-module-jaxb-annotations', '2.12.5'
103
- require_jar 'org.apache.commons', 'commons-text', '1.9'
104
- require_jar 'net.java.dev.jna', 'jna-platform', '5.6.0'
105
- require_jar 'com.fasterxml.jackson.core', 'jackson-core', '2.13.0'
106
- require_jar 'io.netty', 'netty-resolver', '4.1.68.Final'
107
- require_jar 'jakarta.activation', 'jakarta.activation-api', '1.2.1'
108
- require_jar 'commons-logging', 'commons-logging', '1.2'
109
- require_jar 'net.minidev', 'accessors-smart', '2.4.7'
110
- require_jar 'io.netty', 'netty-codec', '4.1.68.Final'
111
- require_jar 'commons-codec', 'commons-codec', '1.11'
112
- require_jar 'com.microsoft.azure', 'msal4j-persistence-extension', '1.1.0'
113
- require_jar 'com.fasterxml.woodstox', 'woodstox-core', '6.2.4'
114
- require_jar 'com.github.stephenc.jcip', 'jcip-annotations', '1.0-1'
115
- require_jar 'com.fasterxml.jackson.core', 'jackson-databind', '2.13.0'
116
- require_jar 'io.netty', 'netty-transport-native-kqueue', 'osx-x86_64', '4.1.68.Final'
117
- require_jar 'io.netty', 'netty-handler', '4.1.68.Final'
118
- require_jar 'com.fasterxml.jackson.core', 'jackson-annotations', '2.13.0'
119
- require_jar 'com.google.code.findbugs', 'jsr305', '1.3.9'
120
- require_jar 'org.checkerframework', 'checker-compat-qual', '2.0.0'
121
- require_jar 'org.apache.httpcomponents', 'httpclient', '4.5.13'
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'
129
- require_jar 'org.json', 'json', '20201115'
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'
138
- require_jar 'com.univocity', 'univocity-parsers', '2.9.1'
139
- require_jar 'io.vavr', 'vavr-match', '0.10.2'
140
- require_jar 'com.nimbusds', 'content-type', '2.1'
141
- require_jar 'org.slf4j', 'slf4j-api', '1.8.0-beta4'
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'
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 = '1.0.5'
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 = ['lib']
10
+ s.require_paths = ["lib", "vendor/jar-dependencies"]
11
11
  s.platform = 'java'
12
12
 
13
13
  # Files
14
- s.files = Dir['lib/**/*', 'spec/**/*', 'vendor/**/*', '*.gemspec', '*.md', 'CONTRIBUTORS', 'Gemfile', 'LICENSE', 'NOTICE.TXT']
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-plugin-api', '~> 2.0'
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 'ruby-maven', '~> 3.3.11'
31
+ s.add_development_dependency 'jar-dependencies', '~> 0.4'
31
32
  s.add_development_dependency 'rspec_junit_formatter'
32
33
 
33
- # Jar dependencies
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
File without changes
data/spec/spec_helpers.rb CHANGED
File without changes