Remove consolelog. Fix discover filters for tabs

This commit is contained in:
Pedro Sanchez 2017-02-08 07:49:45 -08:00
parent 2b700cf17d
commit 7224f4649c
8 changed files with 6 additions and 9 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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);

View File

@ -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);
});
};

View File

@ -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);
});
};