feat: add searchable event log history
This commit is contained in:
@@ -165,6 +165,8 @@ GET /api/v1/config
|
||||
GET /api/v1/services
|
||||
```
|
||||
|
||||
日志接口支持 `since`、`until` Unix 时间戳,`severity`、`event`、`search` 筛选,`timestamp` / `severity` / `event` / `message` 排序,以及 `limit` / `offset` 分页。Web 提供今天、昨天、本周、本月和全部快捷范围。日志直接读取 systemd journal 的现有保留数据,不建立重复的 SQLite 日志副本。
|
||||
|
||||
配置写入接口:
|
||||
|
||||
```text
|
||||
|
||||
Reference in New Issue
Block a user