$_GET['host'] ?? '', 'country' => $_GET['country'] ?? '', 'tag' => $_GET['tag'] ?? '', 'facility' => $_GET['facility'] ?? '', 'priority' => $_GET['priority'] ?? '', 'search' => $_GET['search'] ?? '', 'from' => $_GET['from'] ?? '', 'to' => $_GET['to'] ?? '', 'sort' => $_GET['sort'] ?? 'DESC', 'sort_col' => $_GET['sort_col'] ?? 'ReceivedAt', ]; $filters = array_filter($filters, fn($v) => $v !== ''); $page = max(1, (int)($_GET['p'] ?? 1)); $result = $sq->getLogs($filters, $page, 50); $hosts = $sq->getDistinct('FromHost'); $facilities = $sq->getDistinct('Facility'); $priorities = $sq->getDistinct('Priority'); function sortUrl($col, $filters, $currentSort, $currentCol) { $dir = 'ASC'; if ($currentCol === $col && $currentSort === 'ASC') $dir = 'DESC'; $params = array_merge($filters, ['sort_col' => $col, 'sort' => $dir, 'p' => 1]); return '?page=logs&' . http_build_query($params); } function filterUrl($filters, $override) { $params = array_merge($filters, $override, ['p' => 1]); return '?page=logs&' . http_build_query($params); } ?>

Logs

CSV JSON
Filters
Wissen resultaten (pagina /)
Ontvangen Host Facility Severity Tag Bericht
1): ?>