mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 09:55:18 +00:00
Remove consolelog. Fix discover filters for tabs
This commit is contained in:
parent
2b700cf17d
commit
7224f4649c
@ -3,7 +3,7 @@
|
||||
<!-- View: Discover -->
|
||||
<md-content style="background-color: white" flex layout="column" layout-align="start space-around" ng-if="tabView == 'discover'">
|
||||
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"
|
||||
dis-filter="*"
|
||||
dis-filter='rule.groups:"audit"'
|
||||
infinite-scroll="true">
|
||||
</kbn-disfull>
|
||||
</md-content>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<!-- View: Discover -->
|
||||
<md-content style="background-color: white" flex layout="column" layout-align="start space-around" ng-if="tabView == 'discover'">
|
||||
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"
|
||||
dis-filter="*"
|
||||
dis-filter="rule.groups:syscheck"
|
||||
infinite-scroll="true">
|
||||
</kbn-disfull>
|
||||
</md-content>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<!-- View: Discover -->
|
||||
<md-content style="background-color: white" flex layout="column" layout-align="start space-around" ng-if="tabView == 'discover'">
|
||||
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"
|
||||
dis-filter="*"
|
||||
dis-filter='rule.groups:"oscap" AND rule.groups:"oscap-result"'
|
||||
infinite-scroll="true">
|
||||
</kbn-disfull>
|
||||
</md-content>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<!-- View: Discover -->
|
||||
<md-content style="background-color: white" flex layout="column" layout-align="start space-around" ng-if="tabView == 'discover'">
|
||||
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"
|
||||
dis-filter="*"
|
||||
dis-filter="_exists_:rule.pci_dss"
|
||||
infinite-scroll="true">
|
||||
</kbn-disfull>
|
||||
</md-content>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<!-- View: Discover -->
|
||||
<md-content style="background-color: white" flex layout="column" layout-align="start space-around" ng-if="tabView == 'discover'">
|
||||
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"
|
||||
dis-filter="*"
|
||||
dis-filter="rule.groups:rootcheck"
|
||||
infinite-scroll="true">
|
||||
</kbn-disfull>
|
||||
</md-content>
|
||||
|
@ -113,7 +113,6 @@ module.exports = function (server, options) {
|
||||
|
||||
try {
|
||||
pciRequirements = JSON.parse(fs.readFileSync(path.resolve(__dirname, pciRequirementsFile), 'utf8'));
|
||||
console.log(pciRequirements);
|
||||
} catch (e) {
|
||||
server.log([blueWazuh, 'initialize', 'error'], 'Could not read the mapping file.');
|
||||
server.log([blueWazuh, 'initialize', 'error'], 'Path: ' + pciRequirementsFile);
|
||||
|
@ -156,7 +156,6 @@ module.exports = function (server, options) {
|
||||
server.log([blueWazuh, 'initialize', 'info'], 'Template installed and loaded: ' + index_pattern);
|
||||
insertSampleData(todayIndex);
|
||||
}, function (data) {
|
||||
console.log(data);
|
||||
server.log([blueWazuh, 'initialize', 'error'], 'Could not install template ' + index_pattern);
|
||||
});
|
||||
};
|
||||
|
@ -208,7 +208,6 @@ module.exports = function (server, options) {
|
||||
function () {
|
||||
server.log([blueWazuh, 'initialize', 'info'], '[Wazuh agents monitoring] Template installed and loaded: ' + index_pattern);
|
||||
}, function (data) {
|
||||
console.log(data);
|
||||
server.log([blueWazuh, 'initialize', 'error'], '[Wazuh agents monitoring] Could not install template ' + index_pattern);
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user