Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): 3.7
Describe the issue: Performance Analyzer properties file missing in /etc/opensearch folder.
Configuration:
Relevant Logs or Screenshots
Loading config file /etc/opensearch/opensearch-performance-analyzer/performance-analyzer.properties failed with error: org.opensearch.performanceanalyzer.commons.config.ConfigFileException: java.io.FileNotFoundException: /etc/opensearch/opensearch-performance-analyzer/performance-analyzer.properties (No such file or directory). Disabling plugin.
How can I make sure that the error is not showing up in the logs.
@muraliv are you deploying this via docker?
It appears three files need to be present in /usr/share/opensearch/config/opensearch-performance-analyzer/. None of them are shipped in the Docker image, they’re normally created by the RPM/DEB post-install scripts.
CONFIG_DIR=/usr/share/opensearch/config/opensearch-performance-analyzer
# 1. Main config (triggers the original error)
curl -s https://raw.githubusercontent.com/opensearch-project/performance-analyzer/main/config/performance-analyzer.properties \
> $CONFIG_DIR/performance-analyzer.properties
# 2 & 3. Stats metadata files (trigger a second error once #1 is fixed)
echo "Program=PerformanceAnalyzerPlugin" > $CONFIG_DIR/plugin-stats-metadata
echo "Program=PerformanceAnalyzerAgent" > $CONFIG_DIR/agent-stats-metadata
For Docker Compose, the cleanest approach is to mount these files in via a volume so they survive container restarts without baking them into every docker exec.
This should completely remove the error you are seeing
Hope this helps