수만 줄의 수동 점검 로그 데이터에서 특정 시간대 및 FATAL/ERROR 라인만 정밀하게 발췌합니다.
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]분 동안의 로그 라인과, 위치에 상관없이 ERROR 또는 FATAL로 표시된 모든 라인만 추출해 주세요. 각 라인은 원래 순서를 유지하며 원문 그대로 인용하세요. 제외된 라인 수가 총 몇 개인지 명시해 주세요. 아직 요약은 하지 마세요. [로그 붙여넣기]
출처 · prompts.chat · Support log triage: show only the problem window and ERROR or FATAL lines, quoted exactly — 원문은 출처에 게시된 그대로이며, 권리는 원작자에게 있습니다.
Gemini로 실행한 결과입니다. 입력 항목에는 국내 환경의 예시값을 적용했습니다(AI 생성 — 사실 확인 필요).
From the log below, show only the lines from 5 minutes before to 5 minutes after 2023-10-25 14:30:00 KST, 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. [2023-10-25 14:10:02 KST] INFO System startup initialized [2023-10-25 14:15:10 KST] WARN High memory usage detected [2023-10-25 14:18:00 KST] ERROR Database connection failed [2023-10-25 14:26:15 KST] INFO User authentication successful: user_id=test_user [2023-10-25 14:29:40 KST] INFO Payment request received: order_id=10029 [2023-10-25 14:31:05 KST] INFO Payment processing completed [2023-10-25 14:34:50 KST] INFO API response sent 200 OK [2023-10-25 14:40:12 KST] DEBUG Cache cleared [2023-10-25 14:50:00 KST] FATAL System crash due to out of memory [2023-10-25 14:55:00 KST] INFO System reboot initiated
요청하신 조건(2023-10-25 14:30:00 KST 기준 전후 5분 이내 로그 및 ERROR/FATAL 로그)에 해당하는 로그 라인입니다:
"[2023-10-25 14:18:00 KST] ERROR Database connection failed"
"[2023-10-25 14:26:15 KST] INFO User authentication successful: user_id=test_user"
"[2023-10-25 14:29:40 KST] INFO Payment request received: order_id=10029"
"[2023-10-25 14:31:05 KST] INFO Payment processing completed"
"[2023-10-25 14:34:50 KST] INFO API response sent 200 OK"
"[2023-10-25 14:50:00 KST] FATAL System crash due to out of memory"
제외된 로그 라인 수: 총 4줄
원문과 같은 언어로 보완한 프롬프트입니다. 점수는 명확성 · 구체성 · 출력 형식 · 재사용성 기준의 AI 평가입니다.
Act as a Log Analyst. From the log below, extract only the lines within [10] minutes of [Time and Timezone], plus any line containing 'ERROR' or 'FATAL'. - Quote each matching line exactly as it appears. - Maintain the original chronological order. - Do not summarize or paraphrase any content. - At the end, state the total count of lines excluded. [Paste Log]