mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
Removed the temporary hack to test it more in deep
This commit is contained in:
parent
dbe1c8529e
commit
4a33962f5f
@ -227,10 +227,6 @@ module.exports = (server, options) => {
|
||||
|
||||
const tmp = await wzWrapper.deleteVisualizationByDescription(req.params.timestamp);
|
||||
|
||||
///// TEMPORARY HACK /////////////////////////////////////////////////////////////
|
||||
await elasticRequest.callWithInternalUser('indices.refresh', { index: ['.kibana']})
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
return res({acknowledge: true , output: tmp});
|
||||
|
||||
} catch(error){
|
||||
@ -292,10 +288,6 @@ module.exports = (server, options) => {
|
||||
const bulkBody = buildVisualizationsBulk(file,req.params.pattern,req.params.timestamp);
|
||||
await wzWrapper.pushBulkToKibanaIndex(bulkBody);
|
||||
|
||||
///// TEMPORARY HACK /////////////////////////////////////////////////////////////
|
||||
await elasticRequest.callWithInternalUser('indices.refresh', { index: ['.kibana']})
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
return res({acknowledge: true});
|
||||
|
||||
} catch(error){
|
||||
|
Loading…
Reference in New Issue
Block a user