Hi Jorge,
Please see the pasted contents below.
Jul 07 13:09:08 ip-10-118-1-113.ec2.internal systemd[1]: wazuh-dashboard.service failed. Jul 12 11:59:10 ip-10-118-1-113.ec2.internal systemd[1]: Started wazuh-dashboard. Jul 12 11:59:15 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:15Z","tags":["info","plugins-service"],"pid":5387,"message":"Plugin \"dataSourceManagement\" has been disabled since the following direct or transitive dependencies are missing or disabled: [dataSource]"} Jul 12 11:59:15 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:15Z","tags":["info","plugins-service"],"pid":5387,"message":"Plugin \"dataSource\" is disabled."} Jul 12 11:59:15 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:15Z","tags":["info","plugins-service"],"pid":5387,"message":"Plugin \"visTypeXy\" is disabled."} Jul 12 11:59:15 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:15Z","tags":["info","plugins-service"],"pid":5387,"message":"Plugin \"mlCommonsDashboards\" is disabled."} Jul 12 11:59:15 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:15Z","tags":["warning","config","deprecation"],"pid":5387,"message":"\"opensearch.requestHeadersWhitelist\" is deprecated and has been replaced by \"opensearch.requestHeadersAllowlist\""} Jul 12 11:59:15 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:15Z","tags":["info","plugins-system"],"pid":5387,"message":"Setting up [45] plugins: [alertingDashboards,usageCollection,opensearchDashboardsUsageCollection,opensearchDashboardsLegacy,mapsLegacy,share,opensearchUiShared,legacyExport,embeddable,expressions,data,home,console,apmOss,management,indexPatternManagement,advancedSettings,savedObjects,reportsDashboards,indexManagementDashboards,dashboard,visualizations,visTypeTimeline,timeline,visTypeVega,visTypeTable,visTypeMarkdown,visBuilder,tileMap,regionMap,customImportMapDashboards,inputControlVis,ganttChartDashboards,visualize,notificationsDashboards,charts,visTypeVislib,visTypeTimeseries,visTypeTagcloud,visTypeMetric,discover,savedObjectsManagement,securityDashboards,wazuh,bfetch]"} Jul 12 11:59:15 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:15Z","tags":["info","savedobjects-service"],"pid":5387,"message":"Waiting until all OpenSearch nodes are compatible with OpenSearch Dashboards before starting saved objects migrations..."} Jul 12 11:59:16 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:16Z","tags":["info","savedobjects-service"],"pid":5387,"message":"Starting saved objects migrations"} Jul 12 11:59:16 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:16Z","tags":["info","savedobjects-service"],"pid":5387,"message":"Detected mapping change in \"properties.visualization-visbuilder\""} Jul 12 11:59:16 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:16Z","tags":["info","savedobjects-service"],"pid":5387,"message":"Creating index .kibana_2."} Jul 12 11:59:16 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:16Z","tags":["error","opensearch","data"],"pid":5387,"message":"[validation_exception]: Validation Failed: 1: this action would add [2] total shards, but this cluster currently has [999]/[1000] maximum shards open;"} Jul 12 11:59:16 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:16Z","tags":["warning","savedobjects-service"],"pid":5387,"message":"Unable to connect to OpenSearch. Error: validation_exception: [validation_exception] Reason: Validation Failed: 1: this action would add [2] total shards, but this cluster currently has [999]/[1000] maximum shards open;"} Jul 12 11:59:16 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:16Z","tags":["fatal","root"],"pid":5387,"message":"ResponseError: validation_exception: [validation_exception] Reason: Validation Failed: 1: this action would add [2] total shards, but this cluster currently has [999]/[1000] maximum shards open;\n at onBody (/usr/share/wazuh-dashboard/node_modules/@opensearch-project/opensearch/lib/Transport.js:374:23)\n at IncomingMessage.onEnd (/usr/share/wazuh-dashboard/node_modules/@opensearch-project/opensearch/lib/Transport.js:293:11)\n at IncomingMessage.emit (events.js:412:35)\n at IncomingMessage.emit (domain.js:475:12)\n at endReadableNT (internal/streams/readable.js:1333:12)\n at processTicksAndRejections (internal/process/task_queues.js:82:21) {\n meta: {\n body: { error: [Object], status: 400 },\n statusCode: 400,\n headers: {\n 'content-type': 'application/json; charset=UTF-8',\n 'content-length': '377'\n },\n meta: {\n context: null,\n request: [Object],\n name: 'opensearch-js',\n connection: [Object],\n attempts: 0,\n aborted: false\n }\n }\n}"} Jul 12 11:59:16 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: {"type":"log","@timestamp":"2023-07-12T06:29:16Z","tags":["info","plugins-system"],"pid":5387,"message":"Stopping all plugins."} Jul 12 11:59:16 ip-10-118-1-113.ec2.internal opensearch-dashboards[5387]: FATAL {"error":{"root_cause":[{"type":"validation_exception","reason":"Validation Failed: 1: this action would add [2] total shards, but this cluster currently has [999]/[1000] maximum shards open;"}],"type":"validation_exception","reason":"Validation Failed: 1: this action would add [2] total shards, but this cluster currently has [999]/[1000] maximum shards open;"},"status":400} Jul 12 11:59:16 ip-10-118-1-113.ec2.internal systemd[1]: wazuh-dashboard.service: main process exited, code=exited, status=1/FAILURE Jul 12 11:59:16 ip-10-118-1-113.ec2.internal systemd[1]: Unit wazuh-dashboard.service entered failed state. Jul 12 11:59:16 ip-10-118-1-113.ec2.internal systemd[1]: wazuh-dashboard.service failed.
-Regards
Ruben