mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 02:15:24 +00:00
Added Syslog section
This commit is contained in:
parent
7ccadd2ad6
commit
328ad9380a
@ -1,12 +1,19 @@
|
||||
<!-- This section contains the main content and the right sidenav -->
|
||||
<div flex="auto" layout="row" ng-if="!load && configurationSubTab === 'syslog'">
|
||||
|
||||
<!-- This section appears when there's no configuration -->
|
||||
<wz-no-config flex ng-if="false"></wz-no-config>
|
||||
<!-- No configuration section -->
|
||||
<wz-no-config
|
||||
flex
|
||||
error="currentConfig['csyslog-csyslog']"
|
||||
ng-if="currentConfig['csyslog-csyslog'] && isString(currentConfig['csyslog-csyslog'])"></wz-no-config>
|
||||
<wz-no-config
|
||||
flex
|
||||
error="'not-present'"
|
||||
ng-if="currentConfig['csyslog-csyslog'] && !isString(currentConfig['csyslog-csyslog']) && (!currentConfig['csyslog-csyslog'].syslog_output || !currentConfig['csyslog-csyslog'].syslog_output.length)"></wz-no-config>
|
||||
<!-- End no configuration section -->
|
||||
|
||||
<!-- This section is the main content -->
|
||||
<div flex layout="column">
|
||||
<div flex layout="column" ng-if="currentConfig['csyslog-csyslog'] && !isString(currentConfig['csyslog-csyslog']) && currentConfig['csyslog-csyslog'].syslog_output && currentConfig['csyslog-csyslog'].syslog_output.length">
|
||||
|
||||
<!-- The main card will all the settings -->
|
||||
<md-card class="wz-md-card" ng-if="!JSONContent && !XMLContent">
|
||||
@ -40,25 +47,15 @@
|
||||
<th class="wz-text-left col-lg-2">Location</th>
|
||||
</thead>
|
||||
<tbody class="wz-word-wrap">
|
||||
<tr>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
<td>test</td>
|
||||
<tr ng-repeat="item in currentConfig['csyslog-csyslog'].syslog_output">
|
||||
<td>{{ item.server || 'n/a' }}</td>
|
||||
<td>{{ item.port || '514' }}</td>
|
||||
<td>{{ item.level }}</td>
|
||||
<td>{{ item.format || 'default' }}</td>
|
||||
<td>{{ item.use_fqdn || 'no' }}</td>
|
||||
<td>{{ item.rule_id || 'n/a' }}</td>
|
||||
<td>{{ item.group || 'n/a' }}</td>
|
||||
<td>{{ item.location || 'n/a' }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
Loading…
Reference in New Issue
Block a user