日志时间戳排查
面向 SRE 和后端调试的场景页面:从原始日志中找出 epoch 标记并转换为可读的时间线节点。
Detected timestamp tokens: -
| Line | Epoch Token | ISO | Local Time |
|---|
推荐事故处理流程
- Collect logs from all services participating in the failing request path.
- Extract epoch timestamps and normalize them to ISO/UTC for timeline alignment.
- Sort by converted time and isolate the first failure event before retries fan out.
- Correlate with deploy markers and infrastructure metrics in the same time window.
- Patch, redeploy, and validate that repeated timestamps no longer show fault signatures.
常见问题
How do I debug mixed 10-digit and 13-digit timestamps in logs?
Use extraction plus conversion. 10-digit values are seconds and 13-digit values are milliseconds.
Why should I normalize to UTC/ISO during incidents?
It avoids timezone ambiguity and keeps event ordering consistent across services.
Can this page help with postmortem timelines?
Yes. Use converted timestamps as canonical anchors for incident reconstruction.