logstash-input-elastic_serverless_forwarder 0.1.3-java → 0.1.4-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/docs/index.asciidoc +30 -0
- data/logstash-input-elastic_serverless_forwarder.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de05ac4680e3274f57b3a934e616127d9efe8702f16c63bdf2e9f5afd08bdab4
|
4
|
+
data.tar.gz: 13e09a76c888dcb3db065cb50e678738a5561c339eecfc79318119c321e7437a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1580d128d385d1523dce54fc23dcd8161536ddb2339eaac43f187cf44cc318e3e17e8ab1a3d2532221798c1b13da324cd7d8121487a9b36f7fb4b7d9fb84a507
|
7
|
+
data.tar.gz: 88bb2ebf1aed3c24ad21e4af63320bc7809e85686bbe1b34cfdeb3c6f076c6798284e3eda83d6e87d2b6e2c47ec783023605c099d1be0fba9552e22abf211398
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 0.1.4
|
2
|
+
- [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)
|
3
|
+
|
1
4
|
## 0.1.3
|
2
5
|
- Deprecates the `ssl` option in favor of `ssl_enabled` [#6](https://github.com/logstash-plugins/logstash-input-elastic_serverless_forwarder/pull/6)
|
3
6
|
- 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
|
|
@@ -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.
|
5
|
+
s.version = '0.1.4'
|
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.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|