logstash-input-elastic_serverless_forwarder 0.1.3-java → 0.1.5-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08bce725c7626a1e3cc794ab1679b2ca61de4f10fb58a4c6efb895af4a4c2a5f'
4
- data.tar.gz: b997c8f5c4a7011f219ea2cf338d6813c2cd58350918e9f2fe1d58ece1c43e11
3
+ metadata.gz: 3a777106b2fa04b912343e478074f654c3e9109794c05c3c710ca8ccd51b94e1
4
+ data.tar.gz: 89459c107298fc0ce492ced73b72e21f9f3cedb7f53cebf65d1209b196be901b
5
5
  SHA512:
6
- metadata.gz: 9f69616a38002781b3f896f67c09cf780f708419bceef0789ef3e7f93f88bafafdea34539468bbb4de793c1231434282912b15dc6dad69da0aabdd63d29d0fd8
7
- data.tar.gz: 3b306b08747a7f86611f785ba3b3d477707172b15eb096e2a7854a2bbc6937e2c376a65eb23c8f3e7758a3b6aae81bbb79dc31d73986246ce9264ced232aa698
6
+ metadata.gz: c4a584458611b0edb4c94471cad4b1c1fb81f32055f83f6bedf46330f0fa9eb73c3ca4f01ff57f1098a2a5bd60f05f5a09a15cd5369de71aaafe82205ce60620
7
+ data.tar.gz: aa3f51c4b151f90c706cea641166cef1b4237e4316f1518b4169d05491969c4f0aeb521159ad00c6b1abc93bd5f0cdc33ac3d7dbbe984c0fd95f956eb8fcb774
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.1.5
2
+ - [DOC] Fix attributes to accurately set and clear default codec values [#8](https://github.com/logstash-plugins/logstash-input-elastic_serverless_forwarder/pull/8)
3
+
4
+ ## 0.1.4
5
+ - [DOC] Adds tips for using the logstash-input-elastic_serverless_forwarder plugin with the Elasticsearch output plugin [#7](https://github.com/logstash-plugins/logstash-input-elastic_serverless_forwarder/pull/7)
6
+
1
7
  ## 0.1.3
2
8
  - Deprecates the `ssl` option in favor of `ssl_enabled` [#6](https://github.com/logstash-plugins/logstash-input-elastic_serverless_forwarder/pull/6)
3
9
  - Bumps `logstash-input-http` gem version to `>= 3.7.2` (SSL-normalized)
data/docs/index.asciidoc CHANGED
@@ -132,6 +132,36 @@ You can configure this plugin to authenticate requests using HTTP Basic authenti
132
132
  NOTE: Basic Authentication is not a substitute for SSL, as it provides neither secrecy nor security on its own.
133
133
  When used with SSL disabled, HTTP Basic credentials are transmitted in effectively clear-text and can be easily recovered by an adversary.
134
134
 
135
+ [id="plugins-{type}s-{plugin}-es-output-notes"]
136
+ ==== Using {esf-name} with the Elasticsearch output
137
+ Here are some tips for configuring the {esf} input to work with the elasticsearch output:
138
+
139
+ * Set the `document_id` in the output configuration when you use the {esf} input with an {logstash-ref}/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch[Elasticsearch output plugin].
140
+ +
141
+ [source,ruby]
142
+ ----
143
+ output {
144
+ elasticsearch {
145
+ ...
146
+ document_id => "%{[@metadata][_id]}"
147
+ ...
148
+ }
149
+ }
150
+ ----
151
+ * Starting from version 1.10.0 of {esf-name}, configuring `document_id` as shown in the example above is sufficient (the `_id` field is no longer available, and instead, Logstash now receives the `@metadata._id` field).
152
+
153
+ * For {esf-name} v1.9.0 and earlier, rename the field `_id` to `@metadata._id` with a filter:
154
+ +
155
+ [source,ruby]
156
+ ----
157
+ filter {
158
+ # support ESF < 1.10
159
+ if [_id] and ![@metadata][_id] {
160
+ mutate { rename => { "_id" => "[@metadata][_id]" } }
161
+ }
162
+ }
163
+ ----
164
+
135
165
  [id="plugins-{type}s-{plugin}-options"]
136
166
  ==== {esf-name} Input Configuration Options
137
167
 
@@ -336,4 +366,4 @@ NOTE: Client identity is not typically validated using SSL because the receiving
336
366
  [id="plugins-{type}s-{plugin}-common-options"]
337
367
  include::{include_path}/{type}.asciidoc[]
338
368
 
339
- :default_codec!:
369
+ :no_codec!:
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'logstash-input-elastic_serverless_forwarder'
5
- s.version = '0.1.3'
5
+ s.version = '0.1.5'
6
6
  s.licenses = ['Apache License (2.0)']
7
7
  s.summary = "Receives events from Elastic Serverless Forwarder over HTTP or HTTPS"
8
8
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-elastic_serverless_forwarder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-14 00:00:00.000000000 Z
11
+ date: 2024-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -20,8 +20,8 @@ dependencies:
20
20
  - !ruby/object:Gem::Version
21
21
  version: '2.99'
22
22
  name: logstash-core-plugin-api
23
- prerelease: false
24
23
  type: :runtime
24
+ prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
@@ -37,8 +37,8 @@ dependencies:
37
37
  - !ruby/object:Gem::Version
38
38
  version: '1.2'
39
39
  name: logstash-mixin-ecs_compatibility_support
40
- prerelease: false
41
40
  type: :runtime
41
+ prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
@@ -51,8 +51,8 @@ dependencies:
51
51
  - !ruby/object:Gem::Version
52
52
  version: '0'
53
53
  name: logstash-mixin-plugin_factory_support
54
- prerelease: false
55
54
  type: :runtime
55
+ prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - ">="
@@ -65,8 +65,8 @@ dependencies:
65
65
  - !ruby/object:Gem::Version
66
66
  version: 3.7.2
67
67
  name: logstash-input-http
68
- prerelease: false
69
68
  type: :runtime
69
+ prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
@@ -79,8 +79,8 @@ dependencies:
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  name: logstash-codec-json_lines
82
- prerelease: false
83
82
  type: :runtime
83
+ prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="
@@ -93,8 +93,8 @@ dependencies:
93
93
  - !ruby/object:Gem::Version
94
94
  version: '1.0'
95
95
  name: logstash-mixin-normalize_config_support
96
- prerelease: false
97
96
  type: :runtime
97
+ prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
@@ -107,8 +107,8 @@ dependencies:
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  name: logstash-devutils
110
- prerelease: false
111
110
  type: :development
111
+ prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  - !ruby/object:Gem::Version
175
175
  version: '0'
176
176
  requirements: []
177
- rubygems_version: 3.2.33
177
+ rubygems_version: 3.3.26
178
178
  signing_key:
179
179
  specification_version: 4
180
180
  summary: Receives events from Elastic Serverless Forwarder over HTTP or HTTPS