● wazuh-dashboard.service - wazuh-dashboard
Loaded: loaded (/etc/systemd/system/wazuh-dashboard.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2025-04-21 10:31:11 UTC; 52min ago
Main PID: 20062 (node)
CGroup: /system.slice/wazuh-dashboard.service
└─20062 /usr/share/wazuh-dashboard/node/fallback/bin/node --no-warnings --max-http-header-size=65536 --unhandled-rejections=warn /usr/share/wazuh-dashboard/src/cli/dist
Apr 21 11:23:06 wazuh-server opensearch-dashboards[20062]: {"type":"log","@timestamp":"2025-04-21T11:23:06Z","tags":["error","opensearch","data"],"pid":20062,"message":"[ResponseError]: Response Error"}
Apr 21 11:23:08 wazuh-server opensearch-dashboards[20062]: {"type":"log","@timestamp":"2025-04-21T11:23:08Z","tags":["error","opensearch","data"],"pid":20062,"message":"[ResponseError]: Response Error"}
Apr 21 11:23:11 wazuh-server opensearch-dashboards[20062]: {"type":"log","@timestamp":"2025-04-21T11:23:11Z","tags":["error","opensearch","data"],"pid":20062,"message":"[ResponseError]: Response Error"}
Apr 21 11:23:13 wazuh-server opensearch-dashboards[20062]: {"type":"log","@timestamp":"2025-04-21T11:23:13Z","tags":["error","opensearch","data"],"pid":20062,"message":"[ResponseError]: Response Error"}
Apr 21 11:23:16 wazuh-server opensearch-dashboards[20062]: {"type":"log","@timestamp":"2025-04-21T11:23:16Z","tags":["error","opensearch","data"],"pid":20062,"message":"[ResponseError]: Response Error"}
Apr 21 11:23:18 wazuh-server opensearch-dashboards[20062]: {"type":"log","@timestamp":"2025-04-21T11:23:18Z","tags":["error","opensearch","data"],"pid":20062,"message":"[ResponseError]: Response Error"}
Apr 21 11:23:21 wazuh-server opensearch-dashboards[20062]: {"type":"log","@timestamp":"2025-04-21T11:23:21Z","tags":["error","opensearch","data"],"pid":20062,"message":"[ResponseError]: Response Error"}
Apr 21 11:23:23 wazuh-server opensearch-dashboards[20062]: {"type":"log","@timestamp":"2025-04-21T11:23:23Z","tags":["error","opensearch","data"],"pid":20062,"message":"[ResponseError]: Response Error"}
Apr 21 11:23:26 wazuh-server opensearch-dashboards[20062]: {"type":"log","@timestamp":"2025-04-21T11:23:26Z","tags":["error","opensearch","data"],"pid":20062,"message":"[ResponseError]: Response Error"}
Apr 21 11:23:28 wazuh-server opensearch-dashboards[20062]: {"type":"log","@timestamp":"2025-04-21T11:23:28Z","tags":["error","opensearch","data"],"pid":20062,"message":"[ResponseError]: Response Error"}
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------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 2025-04-21 10:05:07 UTC; 1h 32min ago
Docs: https://documentation.wazuh.com
Main PID: 15100 (java)
CGroup: /system.slice/wazuh-indexer.service
└─15100 /usr/share/wazuh-indexer/jdk/bin/java -Xshare:auto -Dopensearch.networkaddress.cache.ttl=60 -Dopensearch.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=tru...
Apr 21 10:04:53 wazuh-server systemd-entrypoint[15100]: WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.OpenSearch (file:/usr/share/wazuh-indexer/lib/opensearch-2.16.0.jar)
Apr 21 10:04:53 wazuh-server systemd-entrypoint[15100]: WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.OpenSearch
Apr 21 10:04:53 wazuh-server systemd-entrypoint[15100]: WARNING: System::setSecurityManager will be removed in a future release
Apr 21 10:04:53 wazuh-server systemd-entrypoint[15100]: Apr 21, 2025 10:04:53 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
Apr 21 10:04:53 wazuh-server systemd-entrypoint[15100]: WARNING: COMPAT locale provider will be removed in a future release
Apr 21 10:04:54 wazuh-server systemd-entrypoint[15100]: WARNING: A terminally deprecated method in java.lang.System has been called
Apr 21 10:04:54 wazuh-server systemd-entrypoint[15100]: WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.Security (file:/usr/share/wazuh-indexer/lib/opensearch-2.16.0.jar)
Apr 21 10:04:54 wazuh-server systemd-entrypoint[15100]: WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.Security
Apr 21 10:04:54 wazuh-server systemd-entrypoint[15100]: WARNING: System::setSecurityManager will be removed in a future release
Apr 21 10:05:07 wazuh-server systemd[1]: Started wazuh-indexer.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For this Replace <WAZUH_INDEXER_CLUSTER_NAME> and run the following command on the Wazuh indexer node to check the indexer logs for errors:
we have using a AMI and it is used within a aws instance, how to find the cluster name?
About the cluster name, you can get it from the manager with "grep -A3 '<cluster>' /var/ossec/etc/ossec.conf"
[root@wazuh-server certs]# grep -A3 '<cluster>' /var/ossec/etc/ossec.conf
<cluster>
<name>wazuh</name>
<node_name>node01</node_name>
<node_type>master</node_type>
[root@wazuh-server certs]# cat /var/log/wazuh-indexer/wazuh.log | grep -E "ERROR|WARN|Caused"
cat: /var/log/wazuh-indexer/wazuh.log: No such file or directory
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@wazuh-server wazuh-indexer]# curl -k https://127.0.0.1:9200
Unauthorized
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
can you help me with a command that can show the latest logs and
i used this command - journalctl -u wazuh-dashboard -n 1000 | grep -i -E "error|warn" > latest_wazuh_dashboard_logs.txt
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Please let me know if this helps
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@wazuh-server bin]# curl -k -u admin:password https://127.0.0.1:9200
{
"name" : "node-1",
"cluster_name" : "wazuh-cluster",
"cluster_uuid" : "5PI1c8fJRU2aMu-li9qxDQ",
"version" : {
"number" : "7.10.2",
"build_type" : "rpm",
"build_hash" : "e5a68d19815af94a9883fead7927edb40181f32d",
"build_date" : "2025-03-26T19:05:39.438663Z",
"build_snapshot" : false,
"lucene_version" : "9.11.1",
"minimum_wire_compatibility_version" : "7.10.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "The OpenSearch Project: https://opensearch.org/"
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
!^@h^O^@^@^@%^B!^@h^P^@^@^@%!^@h^Q^@^@^@%!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Only Read able part is this ---
78 Usage: wazuh-keystore <option(s)>
79 ^@^@^@^@^@ -h Show this help message
80 ^@^@ -f COLUMN_FAMILY Specifies the target column family for the insertion.
81 ^@^@^@^@^@^@^@^@ -k KEY Specifies the key for the key-value pair.
82 ^@^@^@^@ -v VALUE Specifies the value associated with the key. Only use one value option at the time.
83 ^@ -vp VALUE_PATH Path to a file containing the value to read (single line). Only use one value option at the time.
84 ^@^@^@^@^@ NOTE: if both value parameters are empty, stdin will be read.
85 ^@
86 ./wazuh-keystore -f indexer -k username -v admin
87 ^@^@^@^@^@
88 ./wazuh-keystore -f indexer -k password -vp /path/to/file.txt
89 ^@^@^@^@^@^@^@^@
90 ./wazuh-keystore -f indexer -k password < /path/to/file.txt
91 ^@^@
92 echo 'pass' | ./wazuh-keystore -f indexer -k password
93 ^@^@^@^@^@^@^@^@
94 cat /path/to/file.txt | ./wazuh-keystore -f indexer -k password
95 ^@Options:
You can replace password with the actual one that worked in your curl test. There’s no harm in running these again — they’ll simply overwrite existing entries.
Once done, restart your dashboard and test again.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 Wed 2025-04-23 02:57:17 UTC; 10s ago
Main PID: 18209 (node)
CGroup: /system.slice/wazuh-dashboard.service
└─18209 /usr/share/wazuh-dashboard/node/fallback/bin/node --no-warnings --max-http-header-size=65536 --unhandled-rejections=warn /usr/share/wazuh-dashboard/src/cli/dist
Apr 23 02:57:25 wazuh-server opensearch-dashboards[18209]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 23 02:57:25 wazuh-server opensearch-dashboards[18209]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 23 02:57:25 wazuh-server opensearch-dashboards[18209]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 23 02:57:25 wazuh-server opensearch-dashboards[18209]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 23 02:57:25 wazuh-server opensearch-dashboards[18209]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 23 02:57:25 wazuh-server opensearch-dashboards[18209]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 23 02:57:25 wazuh-server opensearch-dashboards[18209]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 23 02:57:25 wazuh-server opensearch-dashboards[18209]: {"type":"log","@timestamp":"2025-04-23T02:57:25Z","tags":["info","savedobjects-service"],"pid":18209,"message":"Waiting until all OpenSearc...grations..."}
Apr 23 02:57:25 wazuh-server opensearch-dashboards[18209]: {"type":"log","@timestamp":"2025-04-23T02:57:25Z","tags":["error","opensearch","data"],"pid":18209,"message":"[ResponseError]: Response Error"}
Apr 23 02:57:25 wazuh-server opensearch-dashboards[18209]: {"type":"log","@timestamp":"2025-04-23T02:57:25Z","tags":["error","savedobjects-service"],"pid":18209,"message":"Unable to retrieve version...arch nodes."}
Apr 23 02:57:27 wazuh-server opensearch-dashboards[18209]: {"type":"log","@timestamp":"2025-04-23T02:57:27Z","tags":["error","opensearch","data"],"pid":18209,"message":"[ResponseError]: Response Error"}
Hint: Some lines were ellipsized, use -l to show in full.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------{
"name" : "node-1",
"cluster_name" : "wazuh-cluster",
"cluster_uuid" : "5PI1c8fJRU2aMu-li9qxDQ",
"version" : {
"number" : "7.10.2",
"build_type" : "rpm",
"build_hash" : "e5a68d19815af94a9883fead7927edb40181f32d",
"build_date" : "2025-03-26T19:05:39.438663Z",
"build_snapshot" : false,
"lucene_version" : "9.11.1",
"minimum_wire_compatibility_version" : "7.10.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "The OpenSearch Project: https://opensearch.org/"
}
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
wazuh-cluster.log
nano /etc/wazuh-dashboard/opensearch_dashboards.yml
systemctl restart wazuh-dashboard
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 Thu 2025-04-24 13:32:15 UTC; 4s ago
Main PID: 12452 (node)
CGroup: /system.slice/wazuh-dashboard.service
└─12452 /usr/share/wazuh-dashboard/node/fallback/bin/node --no-warnings --max-http-header-size=65536 --unhandled-rejections=warn /usr/share/wazuh-dashboard/src/cli/dist
Apr 24 13:32:19 wazuh-server opensearch-dashboards[12452]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 13:32:19 wazuh-server opensearch-dashboards[12452]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 13:32:19 wazuh-server opensearch-dashboards[12452]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 13:32:19 wazuh-server opensearch-dashboards[12452]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 13:32:19 wazuh-server opensearch-dashboards[12452]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 13:32:19 wazuh-server opensearch-dashboards[12452]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 13:32:19 wazuh-server opensearch-dashboards[12452]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 13:32:19 wazuh-server opensearch-dashboards[12452]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 13:32:19 wazuh-server opensearch-dashboards[12452]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 13:32:19 wazuh-server opensearch-dashboards[12452]: {"type":"log","@timestamp":"2025-04-24T13:32:19Z","tags":["info","savedobjects-service"],"pid":12452,"message":"Waiting until all OpenSearc...grations..."}
Hint: Some lines were ellipsized, use -l to show in full.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
server.host: 0.0.0.0
opensearch.hosts: https://127.0.0.1:9200
server.port: 443
opensearch.ssl.verificationMode: certificate
opensearch.username: admin
opensearch.password: my-password
opensearch.requestHeadersWhitelist: ["securitytenant","Authorization"]
opensearch_security.multitenancy.enabled: true
opensearch_security.readonly_mode.roles: ["kibana_read_only"]
server.ssl.enabled: true
server.ssl.key: "/etc/wazuh-dashboard/certs/wazuh-dashboard-key.pem"
server.ssl.certificate: "/etc/wazuh-dashboard/certs/wazuh-dashboard.pem"
opensearch.ssl.certificateAuthorities: ["/etc/wazuh-dashboard/certs/root-ca.pem"]
uiSettings.overrides.defaultRoute: /app/wz-home
opensearch_security.cookie.secure: true
curl -k -u admin:my password https://127.0.0.1:9200
{
"name" : "node-1",
"cluster_name" : "wazuh-cluster",
"cluster_uuid" : "5PI1c8fJRU2aMu-li9qxDQ",
"version" : {
"number" : "7.10.2",
"build_type" : "rpm",
"build_hash" : "e5a68d19815af94a9883fead7927edb40181f32d",
"build_date" : "2025-03-26T19:05:39.438663Z",
"build_snapshot" : false,
"lucene_version" : "9.11.1",
"minimum_wire_compatibility_version" : "7.10.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "The OpenSearch Project: https://opensearch.org/"
}
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@wazuh-server ~]# rm -rf /usr/share/wazuh-dashboard/optimize/*
[root@wazuh-server ~]# systemctl restart wazuh-dashboard
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@wazuh-server ~]# 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 Thu 2025-04-24 18:18:34 UTC; 9s ago
Main PID: 20378 (node)
CGroup: /system.slice/wazuh-dashboard.service
└─20378 /usr/share/wazuh-dashboard/node/fallback/bin/node --no-warnings --max-http-header-size=65536 --unhandled-rejections=warn /usr/share/wazuh-dashboard/src/cli/dist
Apr 24 18:18:43 wazuh-server opensearch-dashboards[20378]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 18:18:43 wazuh-server opensearch-dashboards[20378]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 18:18:43 wazuh-server opensearch-dashboards[20378]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 18:18:43 wazuh-server opensearch-dashboards[20378]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 18:18:43 wazuh-server opensearch-dashboards[20378]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 18:18:43 wazuh-server opensearch-dashboards[20378]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 18:18:43 wazuh-server opensearch-dashboards[20378]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Apr 24 18:18:43 wazuh-server opensearch-dashboards[20378]: {"type":"log","@timestamp":"2025-04-24T18:18:43Z","tags":["info","savedobjects-service"],"pid":20378,"message":"Waiting until all OpenSearc...grations..."}
Apr 24 18:18:43 wazuh-server opensearch-dashboards[20378]: {"type":"log","@timestamp":"2025-04-24T18:18:43Z","tags":["error","opensearch","data"],"pid":20378,"message":"[ResponseError]: Response Error"}
Apr 24 18:18:43 wazuh-server opensearch-dashboards[20378]: {"type":"log","@timestamp":"2025-04-24T18:18:43Z","tags":["error","savedobjects-service"],"pid":20378,"message":"Unable to retrieve version...arch nodes."}
Hint: Some lines were ellipsized, use -l to show in full.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[root@wazuh-server ~]# /var/ossec/bin/wazuh-indexer users reset-password kibanaserver
-bash: /var/ossec/bin/wazuh-indexer: No such file or directory
[root@wazuh-server ~]#
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@wazuh-server ~]# cd /var/ossec/bin/
[root@wazuh-server bin]# ls
agent_control clear_stats rbac_control wazuh-analysisd wazuh-clusterd wazuh-db wazuh-integratord wazuh-logtest wazuh-modulesd wazuh-remoted
agent_groups cluster_control verify-agent-conf wazuh-apid wazuh-control wazuh-dbd wazuh-keystore wazuh-logtest-legacy wazuh-monitord wazuh-reportd
agent_upgrade manage_agents wazuh-agentlessd wazuh-authd wazuh-csyslogd wazuh-execd wazuh-logcollector wazuh-maild wazuh-regex wazuh-syscheckd
[root@wazuh-server bin]#
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cat /etc/wazuh-indexer/opensearch-security/internal_users.yml | grep kibanaserver -A 10
kibanaserver:
hash: "hash value"
reserved: true
hidden: false
backend_roles: []
attributes: {}
description: "Demo kibanaserver user"
opendistro_security_roles: []
static: false
kibanaro:
hash: "hash value"
reserved: false
hidden: false
backend_roles:
- "kibanauser"
- "readall"
attributes:
[root@wazuh-server /]# cd /usr/share/wazuh-indexer/plugins/opensearch-security/tools/
[root@wazuh-server tools]# bash wazuh-passwords-tool.sh -u kibanaserver -p <new password>
It did not return any new output, as mentioned in the document.
[root@wazuh-server tools]# nano /etc/wazuh-dashboard/opensearch_dashboards.yml
opensearch.ssl.verificationMode: none
opensearch.username: kibanaserver
opensearch.password: <new password>
opensearch.requestHeadersWhitelist: ["securitytenant","Authorization"]
opensearch_security.multitenancy.enabled: true
opensearch_security.readonly_mode.roles: ["kibana_read_only"]
server.ssl.enabled: true
server.ssl.key: "/etc/wazuh-dashboard/certs/wazuh-dashboard-key.pem"
server.ssl.certificate: "/etc/wazuh-dashboard/certs/wazuh-dashboard.pem"
opensearch.ssl.certificateAuthorities: ["/etc/wazuh-dashboard/certs/root-ca.pem"]
uiSettings.overrides.defaultRoute: /app/wz-home
opensearch_security.cookie.secure: true
logging.verbose: true
systemctl restart wazuh-dashboard
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 2025-04-28 17:22:37 UTC; 2s ago
Main PID: 2250 (node)
CGroup: /system.slice/wazuh-dashboard.service
└─2250 /usr/share/wazuh-dashboard/node/fallback/bin/node --no-warnings --max-http-header-size=65536 --unhandled-rejections=warn /usr/share/wazuh-dashboard/src/cli/dist
Apr 28 17:22:39 wazuh-server opensearch-dashboards[2250]: {"type":"log","@timestamp":"2025-04-28T17:22:39Z","tags":["debug","plugins","visualize"],"pid":2250,"message":"\"/usr/share/wazuh-dashboard/...\"config\"."}
Apr 28 17:22:39 wazuh-server opensearch-dashboards[2250]: {"type":"log","@timestamp":"2025-04-28T17:22:39Z","tags":["debug","config"],"pid":2250,"message":"Marking config path as handled: workspace"}
Apr 28 17:22:39 wazuh-server opensearch-dashboards[2250]: {"type":"log","@timestamp":"2025-04-28T17:22:39Z","tags":["debug","config"],"pid":2250,"message":"Marking config path as handled: opensearch_alerting"}
Apr 28 17:22:39 wazuh-server opensearch-dashboards[2250]: {"type":"log","@timestamp":"2025-04-28T17:22:39Z","tags":["debug","config"],"pid":2250,"message":"Marking config path as handled: custom_imp..._dashboards"}
Apr 28 17:22:39 wazuh-server opensearch-dashboards[2250]: {"type":"log","@timestamp":"2025-04-28T17:22:39Z","tags":["debug","plugins","ganttChartDashboards"],"pid":2250,"message":"\"/usr/share/wazuh...\"config\"."}
Apr 28 17:22:39 wazuh-server opensearch-dashboards[2250]: {"type":"log","@timestamp":"2025-04-28T17:22:39Z","tags":["debug","config"],"pid":2250,"message":"Marking config path as handled: opensearch..._management"}
Apr 28 17:22:39 wazuh-server opensearch-dashboards[2250]: {"type":"log","@timestamp":"2025-04-28T17:22:39Z","tags":["debug","plugins","notificationsDashboards"],"pid":2250,"message":"\"/usr/share/wa...\"config\"."}
Apr 28 17:22:40 wazuh-server opensearch-dashboards[2250]: {"type":"log","@timestamp":"2025-04-28T17:22:40Z","tags":["debug","config"],"pid":2250,"message":"Marking config path as handled: opensearch_reporting"}
Apr 28 17:22:40 wazuh-server opensearch-dashboards[2250]: {"type":"log","@timestamp":"2025-04-28T17:22:40Z","tags":["debug","config"],"pid":2250,"message":"Marking config path as handled: logging"}
Apr 28 17:22:40 wazuh-server opensearch-dashboards[2250]: {"type":"log","@timestamp":"2025-04-28T17:22:40Z","tags":["debug","config"],"pid":2250,"message":"Marking config path as handled: opensearch_security"}
Hint: Some lines were ellipsized, use -l to show in full.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12 100 12 0 0 35 0 --:--:-- --:--:-- --:--:-- 36
-----------------------------------------------------------------------------------------------------curl -k -u kibanaserver:old password https://127.0.0.1:9200
{
"name" : "node-1",
"cluster_name" : "wazuh-cluster",
"cluster_uuid" : "5PI1c8fJRU2aMu-li9qxDQ",
"version" : {
"number" : "7.10.2",
"build_type" : "rpm",
"build_hash" : "e5a68d19815af94a9883fead7927edb40181f32d",
"build_date" : "2025-03-26T19:05:39.438663Z",
"build_snapshot" : false,
"lucene_version" : "9.11.1",
"minimum_wire_compatibility_version" : "7.10.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "The OpenSearch Project: https://opensearch.org/"
}
-----------------------------------------------------------------------------------------------------
so i did this in the cat /etc/wazuh-dashboard/opensearch_dashboards.yml
server.host: 0.0.0.0
opensearch.hosts: https://127.0.0.1:9200
server.port: 443
opensearch.ssl.verificationMode: none
opensearch.username: kibanaserver
opensearch.password: <old password>
opensearch.requestHeadersWhitelist: ["securitytenant","Authorization"]
opensearch_security.multitenancy.enabled: true
opensearch_security.readonly_mode.roles: ["kibana_read_only"]
server.ssl.enabled: true
server.ssl.key: "/etc/wazuh-dashboard/certs/wazuh-dashboard-key.pem"
server.ssl.certificate: "/etc/wazuh-dashboard/certs/wazuh-dashboard.pem"
opensearch.ssl.certificateAuthorities: ["/etc/wazuh-dashboard/certs/root-ca.pem"]
uiSettings.overrides.defaultRoute: /app/wz-home
opensearch_security.cookie.secure: true
logging.verbose: true
-----------------------------------------------------------------------------------------------------
and then restarted the dashboard
nano /etc/wazuh-dashboard/opensearch_dashboards.yml
systemctl restart wazuh-dashboard
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 Tue 2025-04-29 02:39:01 UTC; 5s ago
Main PID: 14872 (node)
CGroup: /system.slice/wazuh-dashboard.service
└─14872 /usr/share/wazuh-dashboard/node/fallback/bin/node --no-warnings --max-http-header-size=65536 --unhandled-rejections=warn /usr/share/wazuh-dashboard/src/cli/dist
Apr 29 02:39:05 wazuh-server opensearch-dashboards[14872]: {"type":"log","@timestamp":"2025-04-29T02:39:05Z","tags":["debug","legacy-service"],"pid":14872,"message":"setting up legacy service"}
Apr 29 02:39:05 wazuh-server opensearch-dashboards[14872]: {"type":"log","@timestamp":"2025-04-29T02:39:05Z","tags":["debug","core-app"],"pid":14872,"message":"Setting up core app."}
Apr 29 02:39:05 wazuh-server opensearch-dashboards[14872]: {"type":"log","@timestamp":"2025-04-29T02:39:05Z","tags":["debug","root"],"pid":14872,"message":"starting root"}
Apr 29 02:39:05 wazuh-server opensearch-dashboards[14872]: {"type":"log","@timestamp":"2025-04-29T02:39:05Z","tags":["debug","server"],"pid":14872,"message":"starting server"}
Apr 29 02:39:05 wazuh-server opensearch-dashboards[14872]: {"type":"log","@timestamp":"2025-04-29T02:39:05Z","tags":["debug","savedobjects-service"],"pid":14872,"message":"Starting SavedObjects service"}
Apr 29 02:39:05 wazuh-server opensearch-dashboards[14872]: {"type":"log","@timestamp":"2025-04-29T02:39:05Z","tags":["debug","config"],"pid":14872,"message":"Marking config path as handled: opensearchDashboards"}
Apr 29 02:39:05 wazuh-server opensearch-dashboards[14872]: {"type":"log","@timestamp":"2025-04-29T02:39:05Z","tags":["info","savedobjects-service"],"pid":14872,"message":"Waiting until all OpenSearc...grations..."}
Apr 29 02:39:05 wazuh-server opensearch-dashboards[14872]: {"type":"log","@timestamp":"2025-04-29T02:39:05Z","tags":["error","opensearch","data"],"pid":14872,"message":"[ResponseError]: Response Error"}
Apr 29 02:39:05 wazuh-server opensearch-dashboards[14872]: {"type":"log","@timestamp":"2025-04-29T02:39:05Z","tags":["error","savedobjects-service"],"pid":14872,"message":"Unable to retrieve version...arch nodes."}
Apr 29 02:39:06 wazuh-server opensearch-dashboards[14872]: {"type":"log","@timestamp":"2025-04-29T02:39:06Z","tags":["debug","status"],"pid":14872,"status":{"level":"critical","summary":"[62] servic...Unable to ret
Hint: Some lines were ellipsized, use -l to show in full.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
curl -k -u kibanaserver:password https://127.0.0.1:9200/_opendistro/_security/authinfo
{"user":"User [name=kibanaserver, backend_roles=[kibanauser, readall], requestedTenant=null]","user_name":"kibanaserver","user_requested_tenant":null,"remote_address":"127.0.0.1:33644","backend_roles":["kibanauser","readall"],"custom_attribute_names":[],"roles":["manage_wazuh_index","own_index","kibana_user","kibana_server","readall"],"tenants":{"kibanaserver":true,"global_tenant":true},"principal":null,"peer_certificates":"0","sso_logout_url":null}