mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 02:15:24 +00:00
Removed useless Elasticsearch request
This commit is contained in:
parent
848ec59741
commit
b331932a7d
@ -279,8 +279,6 @@ export default class WazuhElastic {
|
||||
throw new Error('Missing parameters creating visualizations');
|
||||
}
|
||||
|
||||
const apiConfig = (req.headers && req.headers.id) ? await this.wzWrapper.getWazuhConfigurationById(req.headers.id) : false;
|
||||
const clusterName = apiConfig && apiConfig.cluster_info ? apiConfig.cluster_info.cluster : false;
|
||||
const tabPrefix = req.params.tab.includes('overview') ?
|
||||
'overview' :
|
||||
'agents';
|
||||
|
Loading…
Reference in New Issue
Block a user