mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
Added Log collection section
This commit is contained in:
parent
824fe897a6
commit
6807202cd6
@ -6,6 +6,7 @@ include ./commands-active-response/commands-active-response.jade
|
||||
include ./database-output/database-output.html
|
||||
include ./global-configuration/global-configuration.jade
|
||||
include ./integrations/integrations.html
|
||||
include ./log-collection/log-collection.jade
|
||||
include ./registration-service/registration-service.html
|
||||
include ./ruleset/ruleset.jade
|
||||
include ./wazuh-modules/wazuh-modules.jade
|
||||
|
@ -0,0 +1,154 @@
|
||||
<!-- This section contains the main content and the right sidenav -->
|
||||
<div flex="auto" layout="row" ng-if="configurationSubTab === 'localfile'">
|
||||
|
||||
<!-- This section appears when there's no configuration -->
|
||||
<wz-no-config flex ng-if="false"></wz-no-config>
|
||||
<!-- End no configuration section -->
|
||||
|
||||
<!-- This section is the main content -->
|
||||
<div flex layout="column">
|
||||
|
||||
<!-- The main card will all the settings -->
|
||||
<md-card flex="auto" class="wz-md-card" ng-if="!JSONContent && !XMLContent">
|
||||
<md-card-content flex layout="column">
|
||||
<span class="font-size-16">Collected log files</span>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
|
||||
<!-- The container for both list and detail -->
|
||||
<div flex="auto" layout="row" class="wz-margin-top-10">
|
||||
|
||||
<!-- List container -->
|
||||
<div flex="30" layout="column">
|
||||
|
||||
<md-list flex="auto" class="wz-item-list">
|
||||
<md-list-item>Test</md-list-item>
|
||||
</md-list>
|
||||
|
||||
</div>
|
||||
<!-- End list container -->
|
||||
|
||||
<!-- Detail container -->
|
||||
<div flex layout="column">
|
||||
|
||||
<div flex="auto" class="wz-item-detail">
|
||||
<wz-config-item
|
||||
label="Log location"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
<wz-config-item
|
||||
label="Run this command"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
<wz-config-item
|
||||
label="Command alias"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
<wz-config-item
|
||||
label="Interval between command executions"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
<wz-config-item
|
||||
label="Only receive logs occured after start"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
<wz-config-item
|
||||
label="Filter logs using this XPATH query"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
<wz-config-item
|
||||
label="Log labels"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
<wz-config-item
|
||||
label="Redirect output to this socket"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
<wz-config-item
|
||||
label="Log format"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
<wz-config-item
|
||||
label="Log collection output format"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- End detail container -->
|
||||
</div>
|
||||
<!-- End container for both list and detail -->
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<!-- End main card with all the settings -->
|
||||
|
||||
<!-- JSON card -->
|
||||
<md-card flex="auto" class="wz-md-card" ng-if="JSONContent">
|
||||
<md-card-content flex layout="column">
|
||||
<span class="font-size-16">JSON viewer</span>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
|
||||
<!-- The JSON viewer -->
|
||||
<div flex="auto" class="wz-margin-top-10 wz-code-viewer">
|
||||
<pre><code wz-dynamic="JSONContent"></code></pre>
|
||||
</div>
|
||||
<!-- End JSON viewer -->
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<!-- End JSON card -->
|
||||
|
||||
<!-- XML card -->
|
||||
<md-card flex="auto" class="wz-md-card" ng-if="XMLContent">
|
||||
<md-card-content flex layout="column">
|
||||
<span class="font-size-16">XML viewer</span>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
|
||||
<!-- The XML viewer -->
|
||||
<div flex="auto" class="wz-margin-top-10 wz-code-viewer">
|
||||
<pre>{{ XMLContent }}</pre>
|
||||
</div>
|
||||
<!-- End XML viewer -->
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<!-- End XML card -->
|
||||
|
||||
</div>
|
||||
<!-- End main content section -->
|
||||
|
||||
<!-- This section is the right sidenav content -->
|
||||
<md-sidenav
|
||||
class="md-sidenav-right"
|
||||
md-is-locked-open="true">
|
||||
<md-list>
|
||||
<md-subheader>Any questions?</md-subheader>
|
||||
<md-list-item target="_blank" class="wz-text-link" ng-href="https://documentation.wazuh.com/current/user-manual/capabilities/log-data-collection/index.html">Log data collection documentation</md-list-item>
|
||||
<md-list-item target="_blank" class="wz-text-link" ng-href="https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/localfile.html">Localfile reference</md-list-item>
|
||||
|
||||
<md-divider></md-divider>
|
||||
|
||||
<md-subheader>Having trouble?</md-subheader>
|
||||
<md-list-item target="_blank" class="wz-text-link" ng-href="https://groups.google.com/forum/#!forum/wazuh">Ask on the mailing list</md-list-item>
|
||||
<md-list-item target="_blank" class="wz-text-link" ng-href="https://github.com/wazuh/wazuh/issues">Ask on GitHub</md-list-item>
|
||||
|
||||
<md-divider></md-divider>
|
||||
|
||||
<md-subheader>More options</md-subheader>
|
||||
<md-list-item layout-wrap>
|
||||
<md-button ng-class="JSONContent ? 'active' : ''" class="wz-button md-raised md-primary small" ng-click="getJSON('socket')">{{ JSONContent ? "Close JSON viewer" : "Open JSON viewer" }}</md-button>
|
||||
<md-button ng-class="XMLContent ? 'active' : ''" class="wz-button md-raised md-primary small" ng-click="getXML('socket')">{{ XMLContent ? "Close XML viewer" : "Open XML viewer" }}</md-button>
|
||||
</md-list-item>
|
||||
</md-list>
|
||||
</md-sidenav>
|
||||
<!-- End right sidenav section -->
|
||||
|
||||
</div>
|
||||
<!-- End main content and right sidenav section -->
|
@ -0,0 +1,20 @@
|
||||
<div flex="auto" layout="column" ng-if="!load && configurationTab === 'log-collection'" ng-init="switchConfigurationSubTab('localfile')">
|
||||
|
||||
<!-- Headline -->
|
||||
<div layout="column" layout-padding>
|
||||
<div>
|
||||
<span class="font-size-18">Log collection</span>
|
||||
</div>
|
||||
<span class="md-subheader">Log analysis from text files, Windows events or syslog outputs</span>
|
||||
</div>
|
||||
<!-- End headline -->
|
||||
|
||||
<!-- Log collection navigation bar -->
|
||||
<md-nav-bar
|
||||
class="wz-nav-bar"
|
||||
md-selected-nav-item="configurationSubTab"
|
||||
nav-bar-aria-label="Log collection navigation links">
|
||||
<md-nav-item class="wz-nav-item" md-nav-click="switchConfigurationSubTab('localfile')" name="localfile">Localfiles</md-nav-item>
|
||||
<md-nav-item class="wz-nav-item" md-nav-click="switchConfigurationSubTab('socket')" name="socket">Sockets</md-nav-item>
|
||||
</md-nav-bar>
|
||||
<!-- End Log collection navigation bar -->
|
@ -0,0 +1,4 @@
|
||||
include ./log-collection.head
|
||||
include ./localfile/localfile.html
|
||||
include ./socket/socket.html
|
||||
include ../../../footer.foot
|
@ -0,0 +1,124 @@
|
||||
<!-- This section contains the main content and the right sidenav -->
|
||||
<div flex="auto" layout="row" ng-if="configurationSubTab === 'socket'">
|
||||
|
||||
<!-- This section appears when there's no configuration -->
|
||||
<wz-no-config flex ng-if="false"></wz-no-config>
|
||||
<!-- End no configuration section -->
|
||||
|
||||
<!-- This section is the main content -->
|
||||
<div flex layout="column">
|
||||
|
||||
<!-- The main card will all the settings -->
|
||||
<md-card flex="auto" class="wz-md-card" ng-if="!JSONContent && !XMLContent">
|
||||
<md-card-content flex layout="column">
|
||||
<span class="font-size-16">Output sockets</span>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
|
||||
<!-- The container for both list and detail -->
|
||||
<div flex="auto" layout="row" class="wz-margin-top-10">
|
||||
|
||||
<!-- List container -->
|
||||
<div flex="30" layout="column">
|
||||
|
||||
<md-list flex="auto" class="wz-item-list">
|
||||
<md-list-item>Test</md-list-item>
|
||||
</md-list>
|
||||
|
||||
</div>
|
||||
<!-- End list container -->
|
||||
|
||||
<!-- Detail container -->
|
||||
<div flex layout="column">
|
||||
|
||||
<div flex="auto" class="wz-item-detail">
|
||||
<wz-config-item
|
||||
label="Socket name"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
<wz-config-item
|
||||
label="Socket location"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
<wz-config-item
|
||||
label="UNIX socket protocol"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
<wz-config-item
|
||||
label="Prefix to place before the message"
|
||||
value="enabled"
|
||||
notResponsive="true">
|
||||
</wz-config-item>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- End detail container -->
|
||||
</div>
|
||||
<!-- End container for both list and detail -->
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<!-- End main card with all the settings -->
|
||||
|
||||
<!-- JSON card -->
|
||||
<md-card flex="auto" class="wz-md-card" ng-if="JSONContent">
|
||||
<md-card-content flex layout="column">
|
||||
<span class="font-size-16">JSON viewer</span>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
|
||||
<!-- The JSON viewer -->
|
||||
<div flex="auto" class="wz-margin-top-10 wz-code-viewer">
|
||||
<pre><code wz-dynamic="JSONContent"></code></pre>
|
||||
</div>
|
||||
<!-- End JSON viewer -->
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<!-- End JSON card -->
|
||||
|
||||
<!-- XML card -->
|
||||
<md-card flex="auto" class="wz-md-card" ng-if="XMLContent">
|
||||
<md-card-content flex layout="column">
|
||||
<span class="font-size-16">XML viewer</span>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
|
||||
<!-- The XML viewer -->
|
||||
<div flex="auto" class="wz-margin-top-10 wz-code-viewer">
|
||||
<pre>{{ XMLContent }}</pre>
|
||||
</div>
|
||||
<!-- End XML viewer -->
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<!-- End XML card -->
|
||||
|
||||
</div>
|
||||
<!-- End main content section -->
|
||||
|
||||
<!-- This section is the right sidenav content -->
|
||||
<md-sidenav
|
||||
class="md-sidenav-right"
|
||||
md-is-locked-open="true">
|
||||
<md-list>
|
||||
<md-subheader>Any questions?</md-subheader>
|
||||
<md-list-item target="_blank" class="wz-text-link" ng-href="https://documentation.wazuh.com/current/user-manual/capabilities/log-data-collection/log-data-configuration.html#using-multiple-outputs">Using multiple outputs</md-list-item>
|
||||
<md-list-item target="_blank" class="wz-text-link" ng-href="https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/socket.html">Socket reference</md-list-item>
|
||||
|
||||
<md-divider></md-divider>
|
||||
|
||||
<md-subheader>Having trouble?</md-subheader>
|
||||
<md-list-item target="_blank" class="wz-text-link" ng-href="https://groups.google.com/forum/#!forum/wazuh">Ask on the mailing list</md-list-item>
|
||||
<md-list-item target="_blank" class="wz-text-link" ng-href="https://github.com/wazuh/wazuh/issues">Ask on GitHub</md-list-item>
|
||||
|
||||
<md-divider></md-divider>
|
||||
|
||||
<md-subheader>More options</md-subheader>
|
||||
<md-list-item layout-wrap>
|
||||
<md-button ng-class="JSONContent ? 'active' : ''" class="wz-button md-raised md-primary small" ng-click="getJSON('socket')">{{ JSONContent ? "Close JSON viewer" : "Open JSON viewer" }}</md-button>
|
||||
<md-button ng-class="XMLContent ? 'active' : ''" class="wz-button md-raised md-primary small" ng-click="getXML('socket')">{{ XMLContent ? "Close XML viewer" : "Open XML viewer" }}</md-button>
|
||||
</md-list-item>
|
||||
</md-list>
|
||||
</md-sidenav>
|
||||
<!-- End right sidenav section -->
|
||||
|
||||
</div>
|
||||
<!-- End main content and right sidenav section -->
|
@ -75,6 +75,12 @@
|
||||
<p>Active threath addressing by inmmediate response</p>
|
||||
</div>
|
||||
</md-list-item>
|
||||
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line">
|
||||
<div class="md-list-item-text">
|
||||
<h3 class="wz-text-link" ng-click="switchConfigurationTab('log-collection')">Log collection</h3>
|
||||
<p>Log analysis from text files, Windows events or syslog outputs</p>
|
||||
</div>
|
||||
</md-list-item>
|
||||
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line">
|
||||
<div class="md-list-item-text">
|
||||
<h3 class="wz-text-link" ng-click="switchConfigurationTab('integrity-monitoring')">Integrity monitoring</h3>
|
||||
@ -87,12 +93,6 @@
|
||||
<p>Pending description</p>
|
||||
</div>
|
||||
</md-list-item>
|
||||
<md-list-item flex="100" flex-gt-md="50" flex-gt-lg="33" class="md-2-line">
|
||||
<div class="md-list-item-text">
|
||||
<h3 class="wz-text-link" ng-click="switchConfigurationTab('log-collection')">Log collection</h3>
|
||||
<p>Pending description</p>
|
||||
</div>
|
||||
</md-list-item>
|
||||
</md-list>
|
||||
|
||||
</md-card-content>
|
||||
|
Loading…
Reference in New Issue
Block a user