mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 09:55:18 +00:00
internalRequest use admin privilieges. Create wazuh monitoring index
This commit is contained in:
parent
371f566912
commit
99605c1cf8
@ -4,7 +4,7 @@ module.exports = function (server, options) {
|
||||
// Elastic JS Client
|
||||
const serverConfig = server.config();
|
||||
const elasticsearch = require('elasticsearch');
|
||||
const elasticRequest = server.plugins.elasticsearch.getCluster('data');
|
||||
const elasticRequest = server.plugins.elasticsearch.getCluster('admin');
|
||||
|
||||
// External libraries
|
||||
const fs = require('fs');
|
||||
|
Loading…
Reference in New Issue
Block a user