- 支持拖拽/选择上传 JSON 日志文件(必须是数组 [])
- 自动识别时间字段:
timestamp/time/createdAt/ts - 美观的时间线视图,按天分组、按时间排序
- 预留会话
conversationId字段,后续可与聊天数据联动
npm install
npm run dev浏览器打开 http://localhost:5173。
npm run build
npm run preview页面右上角点击“加载示例”,或直接查看 public/sample-log.json。
[
{ "timestamp": "2025-05-10T13:46:38.289Z", "level": "info", "source": "system", "message": "服务启动完成" },
{ "time": 1746885205000, "level": "error", "source": "db", "message": "数据库连接池超时", "tags": ["db", "timeout"], "conversationId": "chat-42" }
]