Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexer-Dashboard testing under OpenSearch 2.17.1 #531

Closed
4 tasks done
AlexRuiz7 opened this issue Nov 8, 2024 · 7 comments
Closed
4 tasks done

Indexer-Dashboard testing under OpenSearch 2.17.1 #531

AlexRuiz7 opened this issue Nov 8, 2024 · 7 comments
Assignees
Labels
level/task Task issue request/operational Operational requests type/test Test issue

Comments

@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Nov 8, 2024

Description

We need to ensure our components work under the new version of OpenSearch. The goal of this issue is to test our packages, their lifecycle and the main correct communication of Indexer and Dashboard.

For that, we need to:

Tests must be performed following the official documentation under RHEL 9 and Ubuntu 22.04 operating systems, or newer versions if available and supported.

Issues

  • List here the detected issues
@AlexRuiz7 AlexRuiz7 added level/task Task issue request/operational Operational requests type/test Test issue labels Nov 8, 2024
@Machi3mfl Machi3mfl self-assigned this Nov 8, 2024
@guidomodarelli
Copy link

guidomodarelli commented Nov 8, 2024

Tests DEB

Wazuh-indexer 🟢

Artifacts: https://github.com/wazuh/wazuh-indexer/actions/runs/11739442729

Installation guide
  1. Download the .rpm package.

  2. Install it using the command sudo dnf install wazuh-XXX.rpm.

  3. Verify the installation.

  4. Certificates deployment

  5. Deploying certificates

    cp -r wazuh-certificates/* /etc/wazuh-indexer/certs

  6. Starting the service

  7. Cluster initialization

OS: Ubuntu 22.04
Package: wazuh-indexer_5.0.0-0_amd64_b7ab43cd-94bbb62-8390055.deb

systemctl status
root@osd-2:/home/vagrant# systemctl daemon-reload
root@osd-2:/home/vagrant# systemctl enable wazuh-indexer
Synchronizing state of wazuh-indexer.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable wazuh-indexer
root@osd-2:/home/vagrant# systemctl start wazuh-indexer
root@osd-2:/home/vagrant# curl -X PUT "https://127.0.0.1:9200/_cluster/settings" -u admin:admin -k -H 'Content-Type: application/json' -d'
{
  "persistent": {
    "cluster.routing.allocation.enable": "all"
  }
}
'
{"acknowledged":true,"persistent":{"cluster":{"routing":{"allocation":{"enable":"all"}}}},"transient":{}}
root@osd-2:/home/vagrant# curl -k -u admin:admin https://127.0.0.1:9200/_cat/nodes?v
ip        heap.percent ram.percent cpu load_1m load_5m load_15m node.role node.roles                                        cluster_manager name
10.0.2.15           51          97   0    0.21    0.10     0.08 dimr      cluster_manager,data,ingest,remote_cluster_client *               node-1
root@osd-2:/home/vagrant# systemctl status wazuh-indexer
● wazuh-indexer.service - wazuh-indexer
   Loaded: loaded (/lib/systemd/system/wazuh-indexer.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2024-11-08 16:32:14 UTC; 1h 45min ago
     Docs: https://documentation.wazuh.com
 Main PID: 2482 (java)
    Tasks: 71 (limit: 4551)
   Memory: 1.3G
      CPU: 2min 16.162s
   CGroup: /system.slice/wazuh-indexer.service
           └─2482 /usr/share/wazuh-indexer/jdk/bin/java -Xshare:auto -Dopensearch.networkaddress.cache.ttl=60 -Dopensearch.networkaddress.cache.negative.t>

Nov 08 16:32:06 osd-2 systemd-entrypoint[2482]: WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.OpenSearch (file:/usr/share/>
Nov 08 16:32:06 osd-2 systemd-entrypoint[2482]: WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.OpenSearch
Nov 08 16:32:06 osd-2 systemd-entrypoint[2482]: WARNING: System::setSecurityManager will be removed in a future release
Nov 08 16:32:06 osd-2 systemd-entrypoint[2482]: Nov 08, 2024 4:32:06 PM sun.util.locale.provider.LocaleProviderAdapter <clinit>
Nov 08 16:32:06 osd-2 systemd-entrypoint[2482]: WARNING: COMPAT locale provider will be removed in a future release
Nov 08 16:32:06 osd-2 systemd-entrypoint[2482]: WARNING: A terminally deprecated method in java.lang.System has been called
Nov 08 16:32:06 osd-2 systemd-entrypoint[2482]: WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.Security (file:/usr/share/wa>
Nov 08 16:32:06 osd-2 systemd-entrypoint[2482]: WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.Security
Nov 08 16:32:06 osd-2 systemd-entrypoint[2482]: WARNING: System::setSecurityManager will be removed in a future release
Nov 08 16:32:14 osd-2 systemd[1]: Started wazuh-indexer.

Wazuh-dashboard 🟢

Artifacts: https://github.com/wazuh/wazuh-dashboard/actions/runs/11743778258

Installation guide
  1. Download the .rpm package.

  2. Install it using the command sudo dnf install wazuh-XXX.rpm.

  3. Verify the installation.

  4. Certificates deployment

  5. Deploying certificates

    cp -r wazuh-certificates/* /etc/wazuh-dashboard/certs

  6. Starting the service

  7. Cluster initialization

OS: Ubuntu 22.04
Package: wazuh-dashboard_5.0.0-1_amd64_a2cafe3.deb

systemctl status
root@osd-2:/home/vagrant# systemctl daemon-reload
root@osd-2:/home/vagrant# systemctl enable wazuh-dashboard
root@osd-2:/home/vagrant# systemctl restart wazuh-dashboard
root@osd-2:/home/vagrant# systemctl status wazuh-dashboard
● wazuh-dashboard.service - wazuh-dashboard
   Loaded: loaded (/etc/systemd/system/wazuh-dashboard.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2024-11-08 18:29:38 UTC; 3s ago
 Main PID: 3515 (node)
    Tasks: 11 (limit: 4551)
   Memory: 231.8M
      CPU: 3.618s
   CGroup: /system.slice/wazuh-dashboard.service
           └─3515 /usr/share/wazuh-dashboard/node/bin/node /usr/share/wazuh-dashboard/src/cli/dist

Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSock>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSock>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSock>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSock>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSock>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSock>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["info","dynamic-config-service"],"pid":3515,"me>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["info","dynamic-config-service"],"pid":3515,"me>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["info","savedobjects-service"],"pid":3515,"mess>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["info","savedobjects-service"],"pid":3515,"mess>
root@osd-2:/home/vagrant# systemctl status wazuh-dashboard
● wazuh-dashboard.service - wazuh-dashboard
   Loaded: loaded (/etc/systemd/system/wazuh-dashboard.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2024-11-08 18:29:38 UTC; 16s ago
 Main PID: 3515 (node)
    Tasks: 11 (limit: 4551)
   Memory: 235.8M
      CPU: 4.191s
   CGroup: /system.slice/wazuh-dashboard.service
           └─3515 /usr/share/wazuh-dashboard/node/bin/node /usr/share/wazuh-dashboard/src/cli/dist

Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["warning","cross-compatibility-service"],"pid":>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["info","plugins-system"],"pid":3515,"message":">
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["info","plugins","wazuh","initialize"],"pid":35>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["info","plugins","wazuh","initialize"],"pid":35>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["info","plugins","wazuh","initialize"],"pid":35>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["info","plugins","wazuh","cron-scheduler"],"pid>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["info","plugins","wazuh","monitoring"],"pid":35>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["error","plugins","wazuh","monitoring"],"pid":3>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["listening","info"],"pid":3515,"message":"Serve>
Nov 08 18:29:41 osd-2 opensearch-dashboards[3515]: {"type":"log","@timestamp":"2024-11-08T18:29:41Z","tags":["info","http","server","OpenSearchDashboards"],>

Indexer-Dashboard communication

image

image

We are usign another template comparing to this issue

image

image

image

@guidomodarelli
Copy link

Update 2024/11/08 15:55

I updated the index pattern using this template: https://github.com/wazuh/wazuh/blob/4.10.0/extensions/elasticsearch/7.x/wazuh-template.json

image

Peek.2024-11-08.15-57.mp4

@guidomodarelli
Copy link

guidomodarelli commented Nov 8, 2024

Test RPM

Wazuh-indexer 🟢

Artifacts: https://github.com/wazuh/wazuh-indexer/actions/runs/11739442729

Installation guide
  1. Download the .rpm package.

  2. Install it using the command sudo dnf install wazuh-XXX.rpm.

  3. Verify the installation.

  4. Certificates deployment

  5. Deploying certificates

    cp -r wazuh-certificates/* /etc/wazuh-indexer/certs

  6. Starting the service

  7. Cluster initialization

OS: Centos 8
Package: wazuh-indexer_5.0.0-0_x86_64_b7ab43cd-94bbb62-8390055.rpm

systemctl status
[root@osd-2-17-1-centos8 certs]# systemctl daemon-reload
[root@osd-2-17-1-centos8 certs]# systemctl enable wazuh-indexer
Synchronizing state of wazuh-indexer.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable wazuh-indexer
[root@osd-2-17-1-centos8 certs]# systemctl start wazuh-indexer
[root@osd-2-17-1-centos8 certs]# systemctl status wazuh-indexer
● wazuh-indexer.service - wazuh-indexer
   Loaded: loaded (/usr/lib/systemd/system/wazuh-indexer.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2024-11-11 11:54:16 UTC; 9s ago
     Docs: https://documentation.wazuh.com
 Main PID: 3466 (java)
    Tasks: 67 (limit: 23687)
   Memory: 1.3G
   CGroup: /system.slice/wazuh-indexer.service
           └─3466 /usr/share/wazuh-indexer/jdk/bin/java -Xshare:auto -Dopensearch.networkaddress.cache>

Nov 11 11:54:08 osd-2-17-1-centos8 systemd-entrypoint[3466]: WARNING: System::setSecurityManager has b>
Nov 11 11:54:08 osd-2-17-1-centos8 systemd-entrypoint[3466]: WARNING: Please consider reporting this t>
Nov 11 11:54:08 osd-2-17-1-centos8 systemd-entrypoint[3466]: WARNING: System::setSecurityManager will >
Nov 11 11:54:08 osd-2-17-1-centos8 systemd-entrypoint[3466]: Nov 11, 2024 11:54:08 AM sun.util.locale.>
Nov 11 11:54:08 osd-2-17-1-centos8 systemd-entrypoint[3466]: WARNING: COMPAT locale provider will be r>
Nov 11 11:54:09 osd-2-17-1-centos8 systemd-entrypoint[3466]: WARNING: A terminally deprecated method i>
Nov 11 11:54:09 osd-2-17-1-centos8 systemd-entrypoint[3466]: WARNING: System::setSecurityManager has b>
Nov 11 11:54:09 osd-2-17-1-centos8 systemd-entrypoint[3466]: WARNING: Please consider reporting this t>
Nov 11 11:54:09 osd-2-17-1-centos8 systemd-entrypoint[3466]: WARNING: System::setSecurityManager will >
Nov 11 11:54:16 osd-2-17-1-centos8 systemd[1]: Started wazuh-indexer.
[root@osd-2-17-1-centos8 certs]# curl -X PUT "https://127.0.0.1:9200/_cluster/settings" -u admin:admin -k -H 'Content-Type: application/json' -d'
{
"persistent": {
  "cluster.routing.allocation.enable": "all"
}
}
'
{"acknowledged":true,"persistent":{"cluster":{"routing":{"allocation":{"enable":"all"}}}},"transient":{}}
[root@osd-2-17-1-centos8 certs]# curl -k -u admin:admin https://127.0.0.1:9200/_cat/nodes?v
ip        heap.percent ram.percent cpu load_1m load_5m load_15m node.role node.roles                                        cluster_manager name
10.0.2.15           42          84   0    0.37    0.12     0.04 dimr      cluster_manager,data,ingest,remote_cluster_client *               node-1

Wazuh-dashboard 🟢

Artifacts: https://github.com/wazuh/wazuh-dashboard/actions/runs/11743789301

Installation guide
  1. Download the .rpm package.

  2. Install it using the command sudo dnf install wazuh-XXX.rpm.

  3. Verify the installation.

  4. Certificates deployment

  5. Deploying certificates

    cp -r wazuh-certificates/* /etc/wazuh-dashboard/certs

  6. Starting the service

  7. Cluster initialization

OS: Centos 8
Package: wazuh-dashboard_5.0.0-1_x86_64_a2cafe3.rpm

systemctl status
[root@osd-2-17-1-centos8 vagrant]# systemctl daemon-reload 
[root@osd-2-17-1-centos8 vagrant]# systemctl enable wazuh-dashboard.service 
Created symlink /etc/systemd/system/multi-user.target.wants/wazuh-dashboard.service → /etc/systemd/system/wazuh-dashboard.service.
[root@osd-2-17-1-centos8 vagrant]# systemctl start wazuh-dashboard.service 
[root@osd-2-17-1-centos8 vagrant]# systemctl status wazuh-dashboard
● wazuh-dashboard.service - wazuh-dashboard
 Loaded: loaded (/etc/systemd/system/wazuh-dashboard.service; enabled; vendor preset: disabled)
 Active: active (running) since Mon 2024-11-11 12:41:30 UTC; 14s ago
Main PID: 4454 (node)
  Tasks: 11 (limit: 23687)
 Memory: 233.6M
 CGroup: /system.slice/wazuh-dashboard.service
         └─4454 /usr/share/wazuh-dashboard/node/bin/node /usr/share/wazuh-dashboard/src/cli/dist

Nov 11 12:41:33 osd-2-17-1-centos8 opensearch-dashboards[4454]: [agentkeepalive:deprecated] options.fr>
Nov 11 12:41:33 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:41:33 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:41:33 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:41:33 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:41:33 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:41:35 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:41:38 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:41:40 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:41:43 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
[root@osd-2-17-1-centos8 vagrant]# systemctl status wazuh-dashboard● wazuh-dashboard.service - wazuh-dashboard
 Loaded: loaded (/etc/systemd/system/wazuh-dashboard.service; enabled; vendor preset: disabled)
 Active: active (running) since Mon 2024-11-11 12:41:30 UTC; 59s ago
Main PID: 4454 (node)
  Tasks: 11 (limit: 23687)
 Memory: 182.9M
 CGroup: /system.slice/wazuh-dashboard.service
         └─4454 /usr/share/wazuh-dashboard/node/bin/node /usr/share/wazuh-dashboard/src/cli/dist

Nov 11 12:42:05 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:42:08 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:42:11 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:42:13 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:42:16 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:42:18 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:42:21 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:42:23 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:42:26 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>
Nov 11 12:42:28 osd-2-17-1-centos8 opensearch-dashboards[4454]: {"type":"log","@timestamp":"2024-11-11>

Indexer-Dashboard communication

image

image

image

image

image

@chantal-kelm chantal-kelm self-assigned this Nov 8, 2024
@guidomodarelli guidomodarelli self-assigned this Nov 11, 2024
@yenienserrano yenienserrano self-assigned this Nov 11, 2024
@yenienserrano
Copy link
Member

yenienserrano commented Nov 11, 2024

Ubuntu arm

Details
root@ubuntu:/home/admin# /etc/wazuh-dashboard# hostnamectl
 Static hostname: ubuntu
       Icon name: computer
      Machine ID: 2fc2427618ff48f99776019cc4cb619e
         Boot ID: 99e0154574a54aba984b89f862fc8c2d
Operating System: Ubuntu 24.04.1 LTS
          Kernel: Linux 6.8.0-48-generic
    Architecture: arm64
Wazuh-indexer install 🟢
root@ubuntu:/home/admin# dpkg -i wazuh-indexer_5.0.0-0_arm64_b7ab43cd-94bbb62-8390055.deb
Selecting previously unselected package wazuh-indexer.
(Reading database ... 87420 files and directories currently installed.)
Preparing to unpack wazuh-indexer_5.0.0-0_arm64_b7ab43cd-94bbb62-8390055.deb ...
Running Wazuh Indexer Pre-Installation Script
Unpacking wazuh-indexer (5.0.0-0) ...
Setting up wazuh-indexer (5.0.0-0) ...
Running Wazuh Indexer Post-Installation Script
### NOT starting on installation, please execute the following statements to configure wazuh-indexer service to start automatically using systemd
 sudo systemctl daemon-reload
 sudo systemctl enable wazuh-indexer.service
### You can start wazuh-indexer service by executing
 sudo systemctl start wazuh-indexer.service

root@ubuntu:/home/admin# bash wazuh-certs-tool.sh -A
11/11/2024 19:31:30 INFO: Verbose logging redirected to /home/admin/wazuh-certificates-tool.log
11/11/2024 19:31:30 INFO: Generating the root certificate.
11/11/2024 19:31:30 INFO: Generating Admin certificates.
11/11/2024 19:31:31 INFO: Admin certificates created.
11/11/2024 19:31:31 INFO: Generating Wazuh indexer certificates.
11/11/2024 19:31:31 INFO: Wazuh indexer certificates created.
11/11/2024 19:31:31 INFO: Generating Filebeat certificates.
11/11/2024 19:31:31 INFO: Wazuh Filebeat certificates created.
11/11/2024 19:31:31 INFO: Generating Wazuh dashboard certificates.
11/11/2024 19:31:31 INFO: Wazuh dashboard certificates created.

root@ubuntu:/home/admin# mkdir /etc/wazuh-indexer/certs
root@ubuntu:/home/admin# cp ./wazuh-certificates/* /etc/wazuh-indexer/certs/
root@ubuntu:/home/admin# chown -R wazuh-indexer:wazuh-indexer /etc/wazuh-indexer/certs
root@ubuntu:/home/admin# chmod 400 /etc/wazuh-indexer/certs/*
root@ubuntu:/home/admin# chmod 500 /etc/wazuh-indexer/certs

root@ubuntu:/home/admin# systemctl status wazuh-indexer
● wazuh-indexer.service - wazuh-indexer
     Loaded: loaded (/usr/lib/systemd/system/wazuh-indexer.service; enabled; preset: ena>
     Active: active (running) since Mon 2024-11-11 19:35:50 UTC; 29min ago
       Docs: https://documentation.wazuh.com
   Main PID: 4135 (java)
      Tasks: 93 (limit: 9771)
     Memory: 1.4G (peak: 1.4G)
        CPU: 1min 5.893s
     CGroup: /system.slice/wazuh-indexer.service
             └─4135 /usr/share/wazuh-indexer/jdk/bin/java -Xshare:auto -Dopensearch.netw>

Nov 11 19:35:43 ubuntu systemd-entrypoint[4135]: WARNING: System::setSecurityManager has>
Nov 11 19:35:43 ubuntu systemd-entrypoint[4135]: WARNING: Please consider reporting this>
Nov 11 19:35:43 ubuntu systemd-entrypoint[4135]: WARNING: System::setSecurityManager wil>
Nov 11 19:35:43 ubuntu systemd-entrypoint[4135]: Nov 11, 2024 7:35:43 PM sun.util.locale>
Nov 11 19:35:43 ubuntu systemd-entrypoint[4135]: WARNING: COMPAT locale provider will be>
Nov 11 19:35:44 ubuntu systemd-entrypoint[4135]: WARNING: A terminally deprecated method>
Nov 11 19:35:44 ubuntu systemd-entrypoint[4135]: WARNING: System::setSecurityManager has>
Nov 11 19:35:44 ubuntu systemd-entrypoint[4135]: WARNING: Please consider reporting this>
Nov 11 19:35:44 ubuntu systemd-entrypoint[4135]: WARNING: System::setSecurityManager wil>
Nov 11 19:35:50 ubuntu systemd[1]: Started wazuh-indexer.service - wazuh-indexer.
Wazuh-dashboard install 🟢
dpkg -i wazuh-dashboard_5.0.0-1_arm64_a2cafe3-f47783944-3589649-09cb691.deb
Selecting previously unselected package wazuh-dashboard.
(Reading database ... 88624 files and directories currently installed.)
Preparing to unpack wazuh-dashboard_5.0.0-1_arm64_a2cafe3-f47783944-3589649-09cb691.deb ...
Creating wazuh-dashboard group... OK
Creating wazuh-dashboard user... OK
Unpacking wazuh-dashboard (5.0.0-1) ...
Setting up wazuh-dashboard (5.0.0-1) ...
root@ubuntu:/home/admin# cp /etc/wazuh-indexer/certs/* /etc/wazuh-dashboard/certs
cp: target '/etc/wazuh-dashboard/certs': No such file or directory
root@ubuntu:/home/admin# mkdir /etc/wazuh-dashboard/certs
root@ubuntu:/home/admin# cp /etc/wazuh-indexer/certs/* /etc/wazuh-dashboard/certs
root@ubuntu:/home/admin# cd /etc/wazuh-dashboard/
root@ubuntu:/etc/wazuh-dashboard# ls
certs  node.options  opensearch_dashboards.keystore  opensearch_dashboards.yml
root@ubuntu:/etc/wazuh-dashboard# ls -l
total 16
drwxr-xr-x 2 root            root            4096 Nov 11 19:40 certs
-rw-r----- 1 wazuh-dashboard wazuh-dashboard  312 May  5  2023 node.options
-rw-r--r-- 1 wazuh-dashboard wazuh-dashboard  226 Nov 11 19:37 opensearch_dashboards.keystore
-rw-r----- 1 wazuh-dashboard wazuh-dashboard  631 May  5  2023 opensearch_dashboards.yml
root@ubuntu:/etc/wazuh-dashboard# chown -R wazuh-dashboard:wazuh-dashboard /etc/wazuh-dashboard/certs
root@ubuntu:/etc/wazuh-dashboard# chmod 400 /etc/wazuh-dashboard/certs/*
root@ubuntu:/etc/wazuh-dashboard# chmod 500 /etc/wazuh-dashboard/certs
root@ubuntu:/etc/wazuh-dashboard# systemctl start wazuh-dashboard
root@ubuntu:/etc/wazuh-dashboard# systemctl status wazuh-dashboard
● wazuh-dashboard.service - wazuh-dashboard
     Loaded: loaded (/etc/systemd/system/wazuh-dashboard.service; disabled; preset: enab>
     Active: active (running) since Mon 2024-11-11 19:42:15 UTC; 8s ago
   Main PID: 4713 (node)
      Tasks: 11 (limit: 9771)
     Memory: 236.7M (peak: 247.5M)
        CPU: 4.759s
     CGroup: /system.slice/wazuh-dashboard.service
             └─4713 /usr/share/wazuh-dashboard/node/bin/node /usr/share/wazuh-dashboard/>

Nov 11 19:42:19 ubuntu opensearch-dashboards[4713]: {"type":"log","@timestamp":"2024-11->
Nov 11 19:42:19 ubuntu opensearch-dashboards[4713]: {"type":"log","@timestamp":"2024-11->
Nov 11 19:42:19 ubuntu opensearch-dashboards[4713]: {"type":"log","@timestamp":"2024-11->
Nov 11 19:42:19 ubuntu opensearch-dashboards[4713]: {"type":"log","@timestamp":"2024-11->
Nov 11 19:42:19 ubuntu opensearch-dashboards[4713]: {"type":"log","@timestamp":"2024-11->
Nov 11 19:42:19 ubuntu opensearch-dashboards[4713]: {"type":"log","@timestamp":"2024-11->
Nov 11 19:42:19 ubuntu opensearch-dashboards[4713]: {"type":"log","@timestamp":"2024-11->
Nov 11 19:42:19 ubuntu opensearch-dashboards[4713]: {"type":"log","@timestamp":"2024-11->
Nov 11 19:42:19 ubuntu opensearch-dashboards[4713]: {"type":"log","@timestamp":"2024-11->
Nov 11 19:42:19 ubuntu opensearch-dashboards[4713]: {"type":"log","@timestamp":"2024-11->
Screenshots 🟢 image image image image image

@Machi3mfl
Copy link
Member

Machi3mfl commented Nov 11, 2024

RHEL 9.4 ARM

Instalations 🟢

Screenshot 2024-11-11 at 8 11 45 PM

wazuh indexer

Screenshot 2024-11-11 at 7 32 01 PM

wazuh dashboard

Screenshot 2024-11-11 at 7 34 36 PM

Screenshots

wazuh indexer

Screenshot 2024-11-11 at 8 08 03 PM

wazuh dashboard

Screenshot 2024-11-11 at 8 07 16 PM Screenshot 2024-11-11 at 8 09 00 PM

@asteriscos
Copy link
Member

LGTM 🟢

@chantal-kelm
Copy link
Member

chantal-kelm commented Nov 12, 2024

Details:

Captura de pantalla 2024-11-12 a la(s) 11 06 32 a  m

Wazuh indexer:

Captura de pantalla 2024-11-12 a la(s) 11 01 46 a  m

Wazuh dashboard:

Captura de pantalla 2024-11-12 a la(s) 11 01 59 a  m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue request/operational Operational requests type/test Test issue
Projects
None yet
Development

No branches or pull requests

6 participants