mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 02:15:24 +00:00
49 lines
2.6 KiB
HTML
49 lines
2.6 KiB
HTML
<div ng-if="!load">
|
|
<ul class="wazuh-submenu">
|
|
<li><a href="/app/wazuh#/manager">Overview</a></li>
|
|
<li class="active"><a>OSSEC Logs</a></li>
|
|
<li><a href="/app/wazuh#/manager/metrics">Metrics</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="container" ng-controller="osseclogController">
|
|
<div ng-if="load" style="text-align: center;">
|
|
<img style="display: inline-block; width: auto;" src="/plugins/wazuh/img/loading.gif"></img>
|
|
</div>
|
|
<div class="row containerLog" ng-if="!load">
|
|
<div id="messages" ng-show="message" class="settings-message-error" ng-bind-html="message">{{ message }}</div>
|
|
<div class="leftCol">
|
|
<h2 class="container_page_title">ossec.log</h2>
|
|
<div class="logContentTabs">
|
|
<div id="logTab">
|
|
<table class="logTable">
|
|
<tbody>
|
|
<tr ng-repeat="line in text">
|
|
<td class="logTableNumber">{{$index}}</td>
|
|
<td class="logTableCode" ng-class="{ logTableCodeOdd : ($index % 2) != 0}" ng-bind-html="colorLine(line)">{{colorLine(line)}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<span class="glyphicon glyphicon-chevron-left" ng-click="prev()" ng-show="hasPrev()"></span><span class="glyphicon glyphicon-chevron-right"
|
|
ng-click="next()" ng-show="hasNext()"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="rightCol">
|
|
<div class="filesBlock" style="margin-top: 35px;">
|
|
<label>Realtime: </label>
|
|
<span class="glyphicon glyphicon-play" ng-show="!realtime" ng-click="playRealtime()"></span>
|
|
<span class="glyphicon glyphicon-stop" ng-show="realtime" ng-click="playRealtime()"></span>
|
|
<table class="table-files" ng-repeat="(key, value) in summary">
|
|
<tr class="table-files-list-tr">
|
|
<td class="table-files-list-td" colspan="3"><b>{{key}}</b></td>
|
|
</tr>
|
|
<tr class="table-files-list-tr filterClickable" ng-repeat="(subk, subv) in value" ng-click="filter(key, subk)" ng-class="{ activeRow: isSetFilter(key, subk) }">
|
|
<td class="table-files-list-td"> </td>
|
|
<td class="table-files-list-td">{{subk}}</td>
|
|
<td class="table-files-list-td">{{subv}}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |