microsoft-sentinel-log-analytics-logstash-output-plugin 2.4.0-java → 2.5.1-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52fc2d58edeab5e2a9d529828781d2f958a33c145c46ef05587a65407ea2e551
4
- data.tar.gz: 781cf13f7ac5e4964cd3d628c8261b01034d31d0b8d03100d410f99690788a6d
3
+ metadata.gz: 4702fd72d471cd82239eeaa30f8c379a1ad7830c77321a388a60c98eddd25f58
4
+ data.tar.gz: 8eb5c632bd0875e3c305ff9879b87c29e798b720988c836efb2b4c1a9bb46d2a
5
5
  SHA512:
6
- metadata.gz: 63dba7974498e08c48d04c410c2cafb3f6e37c7e2b7e52a9a43fe88c581a4eb686324e69fcb84cad5e79c4533f85165edd4d142823bc35acd9e76b2ec1d08e56
7
- data.tar.gz: 27288003dce4595b3c81a22a7685d1684d74a91b153dcf46814ef7204a6a94fcc2edc54f9248bd50a96b6434a15416628b8f1590ea30357857605c02b69ec7b1
6
+ metadata.gz: 91c4e36abe689d0ce4498089a3678ac890c5c8cc9426ee6d2e96f14755df9926f2fa24e725bdf6642e7b06dff7debcc7bd4ca27323b24644f530e78bb349c44f
7
+ data.tar.gz: d47ee51b3c8b7013b2bbc63866cf525bda38a4de0f12ce7fc834fd5612a8852bdc64def2e3cd0ecd87d2a941acc25481ea4923b880289253d42cc8508a9343cb
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 2.5.1
2
+ - Restricted `data_collection_endpoint` to HTTPS Azure Monitor ingestion hosts for the configured Azure cloud.
3
+ - Fixed sovereign-cloud ingestion authentication by selecting the Azure Monitor token audience that matches `azure_cloud`.
4
+ - Added detailed Azure Monitor upload failure telemetry, including inner HTTP status codes, service error details, request IDs, and the SDK-reported failed-log count.
5
+
6
+ ## 2.5.0
7
+ - Added optional per-plugin proxy configuration for authentication and ingestion traffic using `proxy`, `proxy_aad`, and `proxy_endpoint`.
8
+ - Updated Netty handler, HTTP, HTTP/2, and DNS components to 4.1.136.Final.
9
+ - Updated Jackson Databind and Jackson Core to 2.18.8.
10
+
1
11
  ## 2.4.0
2
12
  - Worker threads now run as bounded, executor-scheduled passes: recoverable exceptions are logged and the worker resumes on the next cycle; fatal JVM errors are logged and re-thrown.
3
13
  - Fixed graceful shutdown so in-flight batches are drained (batchers, then unifiers, then senders) before workers stop, bounded by `max_graceful_shutdown_time_seconds`.
@@ -35,4 +45,7 @@
35
45
 
36
46
  ## 2.0.0
37
47
  - Refactored the plugin from Ruby to Java.
38
- - Added ManagedIdentity authentication.
48
+ - Added ManagedIdentity authentication.
49
+
50
+ ## 1.x.x (Ruby - deprecated)
51
+ The 1.x.x releases are the deprecated Ruby version of this plugin. For the 1.x.x changelog and documentation, see [microsoft-sentinel-log-analytics-logstash-output-plugin](../microsoft-sentinel-log-analytics-logstash-output-plugin/CHANGELOG.md).
data/README.md CHANGED
@@ -3,8 +3,9 @@
3
3
  Microsoft Sentinel provides a new output plugin for Logstash. Use this output plugin to send any log via Logstash to the Microsoft Sentinel/Log Analytics workspace. This is done with the Log Analytics DCR-based API.
4
4
  You may send logs to custom or standard tables.
5
5
 
6
- Plugin version: v2.3.3
7
- Released on: 2026-07-02
6
+ Plugin version: v2.5.1
7
+
8
+ Released on: 2026-09-10
8
9
 
9
10
  This plugin is currently in development and is free to use. We request and appreciate feedback from users.
10
11
 
@@ -19,7 +20,7 @@ This plugin is currently in development and is free to use. We request and appre
19
20
 
20
21
  Microsoft Sentinel provides Logstash output plugin to Log analytics workspace using DCR based logs API.
21
22
 
22
- The plugin is published on [RubyGems](https://rubygems.org/gems/microsoft-sentinel-log-analytics-logstash-output-plugin/versions/2.2.2-java). To install to an existing logstash installation, run `logstash-plugin install microsoft-sentinel-log-analytics-logstash-output-plugin`.
23
+ The plugin is published on [RubyGems](https://rubygems.org/gems/microsoft-sentinel-log-analytics-logstash-output-plugin/versions/2.5.1-java). To install to an existing logstash installation, run `logstash-plugin install microsoft-sentinel-log-analytics-logstash-output-plugin`.
23
24
 
24
25
  If you do not have a direct internet connection, you can install the plugin to another logstash installation, and then export and import a plugin bundle to the offline host. For more information, see [Logstash Offline Plugin Management instruction](<https://www.elastic.co/guide/en/logstash/current/offline-plugins.html>).
25
26
 
@@ -55,7 +56,7 @@ Note: make sure that the path exists before creating the sample file.
55
56
  ### Configurations:
56
57
  The following parameters are optional and should be used to create a sample file.
57
58
  - **create_sample_file** - Boolean, False by default. When enabled, up to 10 events will be written to a sample json file.
58
- - **sample_file_path** - Number, Empty by default. Required when create_sample_file is enabled. Should include a valid path in which to place the sample file generated.
59
+ - **sample_file_path** - String, Empty by default. Required when create_sample_file is enabled. Should include a valid path in which to place the sample file generated.
59
60
 
60
61
  ### Complete example
61
62
  1. set the pipeline.conf with the following configuration:
@@ -114,6 +115,19 @@ Add the `microsoft-sentinel-log-analytics-logstash-output-plugin` block to the `
114
115
  | `dcr_id` | The immutable ID of your Data Collection Rule |
115
116
  | `stream_name` | The stream name from your DCR (e.g., `Custom-MyTableRawData_CL`) |
116
117
 
118
+ `data_collection_endpoint` must use HTTPS and must match the selected
119
+ `azure_cloud`:
120
+
121
+ | Azure cloud | Required endpoint host suffix |
122
+ |---|---|
123
+ | `AzurePublicCloud` | `.ingest.monitor.azure.com` |
124
+ | `AzureUSGovernment` | `.ingest.monitor.azure.us` |
125
+ | `AzureChinaCloud` | `.ingest.monitor.azure.cn` |
126
+ | `AzureGermanyCloud` | `.ingest.monitor.azure.de` |
127
+
128
+ User information, ports other than 443, non-root paths, query strings, and fragments
129
+ are not accepted in the endpoint URL.
130
+
117
131
  ---
118
132
 
119
133
  ### Authentication Examples
@@ -150,7 +164,7 @@ When running on an Azure VM with a system-assigned managed identity, omit `clien
150
164
 
151
165
  #### Option 3: Client Secret + Sovereign Cloud
152
166
 
153
- To authenticate against a sovereign cloud, add `azure_cloud`. Supported values: `AzurePublicCloud` (default), `AzureUSGovernment`, `AzureChinaCloud`, `AzureGermanyCloud`.
167
+ To authenticate against a sovereign cloud, add `azure_cloud`. Supported values: `AzurePublicCloud` (default), `AzureUSGovernment`, `AzureChinaCloud`, `AzureGermanyCloud`. The plugin uses this value for both the Microsoft Entra authority and the Azure Monitor Logs Ingestion token audience.
154
168
 
155
169
  output {
156
170
  microsoft-sentinel-log-analytics-logstash-output-plugin {
@@ -210,6 +224,9 @@ A complete `logstash.conf` using client secret auth with a Beats input:
210
224
  | Key | Default | Description |
211
225
  |---|---|---|
212
226
  | `azure_cloud` | `AzurePublicCloud` | Azure cloud environment |
227
+ | `proxy` | *(none)* | Optional. Base HTTP proxy URL applied to all plugin traffic. Format: `[http://][user:password@]host:port`. When unset, no proxy is used and behavior is unchanged |
228
+ | `proxy_aad` | *(value of `proxy`)* | Optional. HTTP proxy URL used only for Microsoft Entra ID (AAD) authentication/token traffic. Falls back to `proxy` when unset |
229
+ | `proxy_endpoint` | *(value of `proxy`)* | Optional. HTTP proxy URL used only for traffic to the Data Collection Endpoint. Falls back to `proxy` when unset |
213
230
  | `keys_to_keep` | *(all)* | Array of field names to send (subset filtering) |
214
231
  | `max_retries_num` | `3` | Max retry attempts for failed sends |
215
232
  | `initial_wait_time_seconds` | `1` | Initial backoff between retries |
@@ -227,6 +244,34 @@ A complete `logstash.conf` using client secret auth with a Beats input:
227
244
  | `unifier_workers_count` | *(auto)* | Number of unifier threads |
228
245
  | `id` | `None` | A custom identification tag to be added to sent-batches logs |
229
246
 
247
+ ### Proxy configuration
248
+
249
+ The proxy settings are **optional** and scoped to this plugin only. If you do not set any of them, the plugin behaves exactly as before and sends traffic directly (no proxy). This is useful when a single Logstash instance has multiple outputs and only the Microsoft Sentinel output needs to traverse a corporate proxy.
250
+
251
+ - `proxy` — base proxy applied to both authentication and ingestion traffic.
252
+ - `proxy_aad` — overrides the proxy used for Microsoft Entra ID (AAD) token requests; falls back to `proxy`.
253
+ - `proxy_endpoint` — overrides the proxy used for Data Collection Endpoint traffic; falls back to `proxy`.
254
+
255
+ Proxy URLs use the format `[http://][user:password@]host:port`. The scheme is optional and defaults to `http`; both host and port are required. Example:
256
+
257
+ output {
258
+ microsoft-sentinel-log-analytics-logstash-output-plugin {
259
+ data_collection_endpoint => "https://my-dce.eastus2-1.ingest.monitor.azure.com"
260
+ dcr_id => "dcr-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
261
+ stream_name => "Custom-MyTableRawData_CL"
262
+ client_id => "<your-app-client-id>"
263
+ client_secret => "<your-app-client-secret>"
264
+ tenant_id => "<your-azure-tenant-id>"
265
+ proxy => "http://proxyhost:8080"
266
+ }
267
+ }
268
+
269
+ Security note: if your proxy requires credentials, store them in the Logstash KeyStore rather than placing them in plaintext in the configuration file.
270
+
271
+ ## Troubleshooting upload failures
272
+
273
+ Starting with version 2.5.1, Azure Monitor upload failure logs include the inner HTTP status, Azure service error code and message, `x-ms-request-id`, `x-ms-client-request-id`, and the SDK-reported failed-log count. Event payloads and failed event contents are not written to the logs.
274
+
230
275
  ## Known issues
231
276
 
232
277
  When using Logstash installed on a Docker image of Lite Ubuntu, the following warning may appear:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.0
1
+ 2.5.1
@@ -2,4 +2,4 @@
2
2
  # encoding: utf-8
3
3
 
4
4
  require 'jar_dependencies'
5
- require_jar('org.logstashplugins', 'microsoft-sentinel-log-analytics-logstash-output-plugin', '2.4.0')
5
+ require_jar('org.logstashplugins', 'microsoft-sentinel-log-analytics-logstash-output-plugin', '2.5.1')
@@ -1,7 +1,7 @@
1
1
  # AUTOGENERATED BY THE GRADLE SCRIPT. EDITS WILL BE OVERWRITTEN.
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'microsoft-sentinel-log-analytics-logstash-output-plugin'
4
- s.version = '2.4.0'
4
+ s.version = '2.5.1'
5
5
  s.licenses = ['Apache-2.0']
6
6
  s.summary = 'Microsoft Sentinel Log Analytics output plugin'
7
7
  s.description = 'Microsoft Sentinel provides a new output plugin for Logstash. Use this output plugin to send any log via Logstash to the Microsoft Sentinel/Log Analytics workspace. This is done with the Log Analytics DCR-based API.'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: microsoft-sentinel-log-analytics-logstash-output-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.5.1
5
5
  platform: java
6
6
  authors:
7
7
  - Microsoft
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-10 00:00:00.000000000 Z
11
+ date: 2026-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -75,7 +75,7 @@ files:
75
75
  - lib/logstash_registry.rb
76
76
  - lib/microsoft-sentinel-log-analytics-logstash-output-plugin_jars.rb
77
77
  - logstash-output-microsoft-sentinel-log-analytics-logstash-output-plugin.gemspec
78
- - vendor/jar-dependencies/org/logstashplugins/microsoft-sentinel-log-analytics-logstash-output-plugin/2.4.0/microsoft-sentinel-log-analytics-logstash-output-plugin-2.4.0.jar
78
+ - vendor/jar-dependencies/org/logstashplugins/microsoft-sentinel-log-analytics-logstash-output-plugin/2.5.1/microsoft-sentinel-log-analytics-logstash-output-plugin-2.5.1.jar
79
79
  homepage:
80
80
  licenses:
81
81
  - Apache-2.0