vim /usr/lib/systemd/system/wazuh-indexer.service
from
# Allow a slow startup before the systemd notifier module kicks in to extend the timeout
TimeoutStartSec=180
to
# Allow a slow startup before the systemd notifier module kicks in to extend the timeout
#TimeoutStartSec=180
from console linux
systemctl daemon-reload
system wazuh-indexer restart
than disable Performance Analyzer
If you prefer to save memory and run your local instance of OpenSearch with the Performance Analyzer plugin disabled, perform the following steps:
- Before disabling Performance Analyzer, stop any currently running RCA agent action by using the following command:
curl -XPOST localhost:9200/_plugins/_performanceanalyzer/rca/cluster/config -H 'Content-Type: application/json' -d '{"enabled": false}'
- Shut down the Performance Analyzer RCA agent by running the following command:
kill $(ps aux | grep -i 'PerformanceAnalyzerApp' | grep -v grep | awk '{print $2}')
- Disable the Performance Analyzer plugin by running the following command:
curl -XPOST localhost:9200/_plugins/_performanceanalyzer/cluster/config -H 'Content-Type: application/json' -d '{"enabled": false}'
example : curl -XPOST -k -u admin:password https://localhost:9200/_plugins/_performanceanalyzer/cluster/config -H ‘Content-Type: application/json’ -d ‘{“enabled”: false}’
- Uninstall the Performance Analyzer plugin by running the following command:
bin/opensearch-plugin remove opensearch-performance-analyzer