支持日志时间窗口与错误行筛选
按指定时间窗口提取日志及全局严重错误行,保留原文顺序并统计省略行数。
完整提示词
From the log below, show only the lines from [10] minutes before to [10] minutes after [time and time zone], plus any line anywhere marked ERROR or FATAL. Quote each line exactly and keep the original order. Tell me how many lines you left out. Don't summarize yet. [paste the log]
可替换内容
- [10]
- [time and time zone]
- [paste the log]
分类与标签
编程开发、日志筛选、故障排查、时间窗口、错误日志