logstash-integration-elastic_enterprise_search 3.0.0 → 3.0.1
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/outputs/elastic_app_search.rb +8 -0
- data/lib/logstash/outputs/elastic_workplace_search.rb +8 -0
- data/lib/logstash/plugin_mixins/enterprise_search/manticore_transport.rb +1 -1
- data/logstash-integration-elastic_enterprise_search.gemspec +1 -1
- data/spec/integration/outputs/elastic_workplace_search_spec.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4473449751c6ce422faa5cdbbcec12e78677a54d40209e397c987d2e2e2d05f
|
4
|
+
data.tar.gz: d1774ea9414e64b243017fa4faac4a53c830b66098208762bb601d9e3a9ac834
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ed463da5b8975c4765a4688e684e2596a42161128a6bee3f087eff49a6404180051967e6c96f7893581bd7322ff13bdb2d8251f967b8b35496e4b85503e1f83
|
7
|
+
data.tar.gz: e0fcd1f80a3cd350508d9d78922a67e26fc31e01d0433f2fa764033fc2778925b0a8ebebd48e95802718047162630e2d65124395cbd7c7989a7182ce9482e429
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 3.0.1
|
2
|
+
- Add deprecation log for App Search and Workplace Search. Both products are removed from Elastic Stack in version 9 [#22](https://github.com/logstash-plugins/logstash-integration-elastic_enterprise_search/pull/22)
|
3
|
+
|
1
4
|
## 3.0.0
|
2
5
|
- Bumped Enterprise Search clients to version `>= 7.16`, `< 9` [#18](https://github.com/logstash-plugins/logstash-integration-elastic_enterprise_search/pull/18)
|
3
6
|
- Added support to SSL configurations (`ssl_certificate_authorities`, `ssl_truststore_path`, `ssl_truststore_password`, `ssl_truststore_type`, `ssl_verification_mode`, `ssl_supported_protocols` and `ssl_cipher_suites`)
|
@@ -1,11 +1,13 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require 'logstash/outputs/base'
|
3
|
+
require 'logstash/plugin_mixins/deprecation_logger_support'
|
3
4
|
require 'logstash/plugin_mixins/enterprise_search/ssl_configs'
|
4
5
|
require 'logstash/plugin_mixins/enterprise_search/client'
|
5
6
|
|
6
7
|
class LogStash::Outputs::ElasticAppSearch < LogStash::Outputs::Base
|
7
8
|
|
8
9
|
include LogStash::PluginMixins::EnterpriseSearch::SSLConfigs
|
10
|
+
include LogStash::PluginMixins::DeprecationLoggerSupport
|
9
11
|
|
10
12
|
config_name 'elastic_app_search'
|
11
13
|
|
@@ -44,6 +46,12 @@ class LogStash::Outputs::ElasticAppSearch < LogStash::Outputs::Base
|
|
44
46
|
ENGINE_WITH_SPRINTF_REGEX = /^.*%\{.+\}.*$/.freeze
|
45
47
|
|
46
48
|
def register
|
49
|
+
log_message = "The App Search product is deprecated and not supported from version 9 of the Elastic Stack. " +
|
50
|
+
"The Elastic App Search output plugin is deprecated and will only receive security updates and critical bug fixes. " +
|
51
|
+
"Please migrate to the Elastic Connector for continued support. " +
|
52
|
+
"For more details, please visit https://www.elastic.co/guide/en/search-ui/current/tutorials-elasticsearch.html"
|
53
|
+
deprecation_logger.deprecated log_message
|
54
|
+
|
47
55
|
@retry_disabled = false
|
48
56
|
@client = LogStash::PluginMixins::EnterpriseSearch::AppSearch::Client.new(client_options, params: params)
|
49
57
|
check_connection!
|
@@ -1,11 +1,13 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require 'logstash/outputs/base'
|
3
|
+
require 'logstash/plugin_mixins/deprecation_logger_support'
|
3
4
|
require 'logstash/plugin_mixins/enterprise_search/client'
|
4
5
|
require 'logstash/plugin_mixins/enterprise_search/ssl_configs'
|
5
6
|
|
6
7
|
class LogStash::Outputs::ElasticWorkplaceSearch < LogStash::Outputs::Base
|
7
8
|
|
8
9
|
include LogStash::PluginMixins::EnterpriseSearch::SSLConfigs
|
10
|
+
include LogStash::PluginMixins::DeprecationLoggerSupport
|
9
11
|
|
10
12
|
config_name 'elastic_workplace_search'
|
11
13
|
|
@@ -43,6 +45,12 @@ class LogStash::Outputs::ElasticWorkplaceSearch < LogStash::Outputs::Base
|
|
43
45
|
SOURCE_WITH_SPRINTF_REGEX = /^.*%\{.+\}.*$/.freeze
|
44
46
|
|
45
47
|
def register
|
48
|
+
log_message = "The Workplace Search product is deprecated and not supported from version 9 of the Elastic Stack. " +
|
49
|
+
"The Elastic Workplace Search output plugin is deprecated and will only receive security updates and critical bug fixes. " +
|
50
|
+
"Please migrate to the Elastic Connector for continued support. " +
|
51
|
+
"For more details, please visit https://www.elastic.co/guide/en/search-ui/current/tutorials-elasticsearch.html"
|
52
|
+
deprecation_logger.deprecated log_message
|
53
|
+
|
46
54
|
@retry_disabled = false
|
47
55
|
@client = LogStash::PluginMixins::EnterpriseSearch::WorkplaceSearch::Client.new(client_options, params: params)
|
48
56
|
begin
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-integration-elastic_enterprise_search'
|
3
|
-
s.version = '3.0.
|
3
|
+
s.version = '3.0.1'
|
4
4
|
s.licenses = ['Apache-2.0']
|
5
5
|
s.summary = "Integration with Elastic Enterprise Search - output plugins"
|
6
6
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline "+
|
@@ -153,7 +153,7 @@ describe 'indexing against running Workplace Search', :integration => true do
|
|
153
153
|
end
|
154
154
|
|
155
155
|
client = faraday_client
|
156
|
-
client.
|
156
|
+
client.headers['Authorization'] = "Basic #{basic_auth_header}"
|
157
157
|
response = client.post('/ws/org/api_tokens',
|
158
158
|
'{"name":"ls-integration-test-key"}',
|
159
159
|
{ 'Content-Type' => 'application/json', 'Accept' => 'application/json' })
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-integration-elastic_enterprise_search
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -17,8 +17,8 @@ dependencies:
|
|
17
17
|
- !ruby/object:Gem::Version
|
18
18
|
version: '0.8'
|
19
19
|
name: manticore
|
20
|
-
prerelease: false
|
21
20
|
type: :runtime
|
21
|
+
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
@@ -31,8 +31,8 @@ dependencies:
|
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '2.0'
|
33
33
|
name: logstash-core-plugin-api
|
34
|
-
prerelease: false
|
35
34
|
type: :runtime
|
35
|
+
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
@@ -45,8 +45,8 @@ dependencies:
|
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0'
|
47
47
|
name: logstash-codec-plain
|
48
|
-
prerelease: false
|
49
48
|
type: :runtime
|
49
|
+
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
@@ -62,8 +62,8 @@ dependencies:
|
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '9'
|
64
64
|
name: elastic-enterprise-search
|
65
|
-
prerelease: false
|
66
65
|
type: :runtime
|
66
|
+
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
@@ -79,8 +79,8 @@ dependencies:
|
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '1.0'
|
81
81
|
name: logstash-mixin-deprecation_logger_support
|
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: '0'
|
95
95
|
name: logstash-devutils
|
96
|
-
prerelease: false
|
97
96
|
type: :development
|
97
|
+
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - ">="
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: '0'
|
159
159
|
requirements: []
|
160
|
-
rubygems_version: 3.
|
160
|
+
rubygems_version: 3.3.26
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
163
|
summary: Integration with Elastic Enterprise Search - output plugins
|