git: 801e78b11247 - main - security/wazuh-server: Update pkg-message file about logstash-output-opensearch

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Fri, 26 Dec 2025 20:37:52 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=801e78b112476d611a35329de5b613fc8bcbc871

commit 801e78b112476d611a35329de5b613fc8bcbc871
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2025-12-26 20:34:35 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2025-12-26 20:34:35 +0000

    security/wazuh-server: Update pkg-message file about logstash-output-opensearch
    
    - Modify pkg-message entries about logstash-output-opensearch plugin
    - Change openjdk11 to openjdk17
    - Bump PORTREVISION
---
 security/wazuh-server/Makefile             |  1 +
 security/wazuh-server/files/pkg-message.in | 13 ++++++++++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/security/wazuh-server/Makefile b/security/wazuh-server/Makefile
index fc9a90e439ca..42b85ea3a53a 100644
--- a/security/wazuh-server/Makefile
+++ b/security/wazuh-server/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	wazuh
 PORTVERSION=	4.14.1
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	LOCAL/acm/${PORTNAME}/:config_samples \
 		https://packages.wazuh.com/4.x/filebeat/:wazuh_module \
diff --git a/security/wazuh-server/files/pkg-message.in b/security/wazuh-server/files/pkg-message.in
index 6bba4619cf50..258f0696829f 100644
--- a/security/wazuh-server/files/pkg-message.in
+++ b/security/wazuh-server/files/pkg-message.in
@@ -31,14 +31,21 @@ Wazuh server components were installed
    setup. For example host, ssl, filter, etc. Sample files can give you a good
    guide about that.
 
-7) Install logstash-output-opensearch plugin
+7) Install logstash-output-opensearch plugin. Fetch it from rubygems site or opensearch github
 
    # cd %%PREFIX%%/logstash/bin
-   # sh -c "JAVA_HOME=%%PREFIX%%/openjdk11 ./logstash-plugin install logstash-output-opensearch"
+   # sh -c "JAVA_HOME=%%PREFIX%%/openjdk17 ./logstash-plugin install /tmp/logstash-output-opensearch"
+
+   There are some issues installing this plugin on latest version of sysutils/logstash8.
+   Try installing gem file directly
+
+   # fetch https://rubygems.org/downloads/logstash-output-opensearch-2.0.3-java.gem -o \
+     /tmp/logstash-output-opensearch-2.0.3-java.gem
+   # sh -c "JAVA_HOME=%%PREFIX%%/openjdk17 ./logstash-plugin install /tmp/logstash-output-opensearch-2.0.3-java.gem"
 
 8) Check if logstash-output-opensearch plugin was installed
 
-   # sh -c "JAVA_HOME=%%PREFIX%%/openjdk11 ./logstash-plugin list | grep logstash-output-opensearch"
+   # sh -c "JAVA_HOME=%%PREFIX%%/openjdk17 ./logstash-plugin list | grep logstash-output-opensearch"
 
 9) Add Filebeat and Logstash to /etc/rc.conf