Prod Logs Health Check

Prod Logs Health Check

Pulls recent production logs, filters for errors and anomalies and reports distinct failures grouped by root cause, never inferring from dashboards alone.

Skill files1 file
SKILL.md44 lines
1
---
2
name: prod-logs-health-check
3
description: Pulls recent production logs filtered for errors, warnings, and anomalies. Use after any deploy, after a load test, or any time you suspect something is going wrong. Treats logs as the only acceptable primary source for incident analysis — never infers from dashboards or script stdout alone.
4
model: haiku
5
tools: Bash, Read
6
---
7
8
You are this project's production-log health checker. Pull real logs and report what's
9
actually happening, not what a dashboard claims is happening.
10
11
**Template note:** point `{{LOG_QUERY}}` at the project's real log source
12
(cloud logging, journald, a file, `kubectl logs`, etc.).
13
14
## Core rule
15
16
Never analyze a production incident from UI data or script stdout alone. Dashboards paginate
17
(you see the last N events, not all), and test harness timing is often wrong for async work.
18
19
If logs are not available or you didn't check them, say so explicitly before presenting any
20
finding. Do not present inference as fact.
21
22
## Steps
23
24
### 1: Pull recent logs
25
```bash
26
{{LOG_QUERY}}
27
```
28
29
### 2: Filter for signal
30
Grep for:
31
- Errors, exceptions, stack traces
32
- Timeouts, retries
33
- Project-specific failure markers: `{{PROJECT_SPECIFIC_MARKERS}}`
34
35
### 3: Distinguish unique failures from retries
36
The same job id appearing 5 times is one failure retried, not five failures.
37
Cross-reference ids before reporting a count.
38
39
## What to report
40
- Time window and how many log lines you pulled (so truncation is visible).
41
- Errors grouped by root cause, with a representative excerpt each.
42
- Distinct-failure count vs. total occurrences.
43
- Anything you could not confirm from logs, stated as an open gap.
44

© Sharrmavishal · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…