On 04.04.23 08:53, Pavel Korovin wrote:
> Hello Alexander,
>
> It seems you forgot to install opensearch output plugin for logstash.
> Let's move the discussion from ports@ to private, it has nothing to do
> with OpenBSD ports.
OK, let's focus on the ports themselves.
For the record:
- ES isn't updatable
- opensearch is ported as replacement
- logstash (as I tested) doesn't work via ES output plugin (w/o hacks)
- there's an opensearch output plugin for logstash[1]
- it's not ported
At least none of
pkg_info -Q logstash
pkg_info -Q opensearch
pkg_info -L logstash |grep opense
pkg_info -L opensearch|grep logstash
ls /usr/ports/*/*logstash*
ls /usr/ports/*/*opensearch*
hint to me that the plugin is ported.
OK, I got it working with the following hack, but shouldn't the
opensearch output plugin just be ported?
<VirtualHost 127.0.0.1:80>
DocumentRoot "/var/www/htdocs"
<LocationMatch "^/(?!$)(?!index.json$)(?!_license$)">
ProxyPass "http://127.0.0.1:9200"
</LocationMatch>
RewriteEngine On
RewriteRule "^/$" "/index.json"
</VirtualHost>
# cat /var/www/htdocs/index.json
{
"version": {
"number": "7.10.0",
"build_flavor": "default"
},
"tagline": "You Know, for Search"
}
# cat /var/www/htdocs/_license
{
"license": {
"status":"active"
}
}
[1]
https://opensearch.org/blog/introducing-logstash-input-opensearch-plugin-for-opensearch/
>
> On 04/03, Alexander Klimov wrote:
>> But logstash seems not to like the version info from opensearch.
>> I had to patch its build info detection and license detection locally.
>
No comments:
Post a Comment