# Incident Evidence Timeline: Logs, Alerts & Deploys in UTC

> Your incident postmortem timeline in UTC: merge logs, alerts, deploys, Kubernetes events and Slack exports into one timeline. Every row cites its file and line; unclear times and conflicts are listed, never guessed.

Incident Evidence Timeline: Logs, Alerts & Deploys in UTC is a paid AI agent skill on Agensi by AGI Tools, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [AGI Tools](https://www.agensi.io/creators/agi-tools)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/incident-evidence-timeline-logs-alerts-deploys-in-utc
- Tags: devops, incident-response, site-reliability, logs, postmortem, observability, on-call, timeline

## About this skill

After an incident the evidence is scattered across application logs, alert history, the deploy pipeline, Kubernetes events and the incident channel, each with its own time format and zone. Incident Evidence Timeline runs a real program (Python standard library only) that reads those exports, puts every event on one UTC timeline and points each row back to the file and line, or JSON pointer, it came from. The same files always give the same report.

It reports **time order, never causes**. Nothing in the report is a root cause: whether an earlier event caused a later one is for the people writing the postmortem.

### What it reads (17 formats)
- **Application logs:** JSON lines, JSON arrays, logfmt, syslog (RFC 5424 and 3164), plain-text logs with ISO 8601 times, Apache error logs, web server access logs (5xx responses become error events). `.gz` files are read too.
- **Alerts:** Prometheus Alertmanager or Grafana webhook payloads and the Alertmanager alerts list, PagerDuty log entries, alert history CSV.
- **Changes:** git log, GitHub Actions workflow runs, GitHub deployments, Kubernetes events (`kubectl get events -o json`).
- **People:** Slack channel exports and your own notes (CSV, JSON, JSON lines, CloudEvents 1.0).

### What you get
- `timeline.md` for people, `timeline.json` with everything for tools, `timeline.csv`.
- Every row: UTC time with its precision, source, kind, severity, service, masked text and its references (`file:line` or `file#/json/pointer`).
- Facts for the postmortem, each tied to a named record: first error-level event (overall and per service), first alert, first acknowledgement, last resolution, durations between those records or your own markers, changes in the hour before the first error (listed because they happened earlier, not as a cause), error spikes and periods with no data, with stated thresholds.
- Duplicates merged; repeats folded into one row with their count and last time.

### Uncertainty is listed, never guessed
- Times without a zone, ambiguous zone abbreviations, daylight-saving gaps and overlaps, missing years and numeric dates whose day/month order is unknown are **not placed**, each with its reason. You supply the missing fact (`--tz app.log=Europe/Paris`, `--year`, `--abbrev`, `--date-order`) and build again; times in a zone you assumed stay marked "assumed".
- Rows that overlap within their timestamp precision are marked "order not provable". Order between sources assumes their clocks agree, and the report says so.
- **Conflicting evidence** is listed, not resolved: two times in one record that disagree, the same event at different times in two sources, an alert resolved or acknowledged before it fired, an end before its start, a log file whose times go backwards.

### Privacy and safety
- Secrets, tokens, passwords and credentials in URLs are always masked. Emails, IP addresses, phone and card numbers are masked and people become `person-1`, `person-2`… unless you ask for `--keep-personal-data`.
- Runs locally: reads only the files you name, writes only the report folder, opens no network connection and never runs anything it reads. Log and chat text is treated as data, never as instructions.

### Try it
`python examples/demo.py --out demo/` builds the timeline of an invented incident (a fictional shop, ten exports) and `examples/output/` holds the expected result. 102 tests are included.

Requires Python 3.9 or later: no packages, no account, no API key. Verified on Linux with Python 3.9, 3.11, 3.12 and 3.13; Windows and macOS not verified yet.

Not affiliated with any of the tools whose export formats it reads, or with Agensi. Built by AGI Tools.

## Requires

- Python 3.9+
- Git

On Windows, named time zones such as Europe/Paris need: pip install tzdata. Fixed offsets such as +01:00 always work.

## Known limitations

- Reads the 17 formats listed by `python scripts/timeline.py formats`; other exports must be converted to the simple events CSV (time,text).
- Does not query live systems (logging platforms, PagerDuty, GitHub, Kubernetes): you export the files first.
- Reports time order only: it never determines causes or a root cause. Spikes and gaps use fixed, stated thresholds.
- Order between sources assumes their clocks agree; events within each other's timestamp precision are marked "order not provable".
- Up to 512 MB per file after decompression and 2,000,000 records per run.
- Verified on Linux with Python 3.9, 3.11, 3.12 and 3.13; Windows and macOS not verified yet.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Incident Evidence Timeline: Logs, Alerts & Deploys in UTC skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does it find the root cause of my incident?

No. It puts recorded events in time order with their sources and lists the facts a postmortem needs. Time order does not show cause, so the report never names a cause or a root cause; changes before the first error are listed only because they happened earlier.

### Does it send my logs anywhere?

No. It runs locally with the Python standard library, opens no network connection, reads only the files you name and writes only the report folder. Secrets are always masked in the report; personal data is masked unless you ask to keep it.

### What happens to times without a time zone?

They are not placed and the report says why. Give the zone of a file with --tz "app.log=Europe/Paris" (or --assume-tz for all files) and build again; those rows stay marked "assumed". The same applies to missing years, zone abbreviations and day/month order.

### Which tools can I export from?

Anything that writes the 17 formats it reads: JSON, logfmt, syslog and plain-text logs, access logs, Alertmanager or Grafana webhooks, PagerDuty log entries, git log, GitHub Actions runs and deployments, Kubernetes events, Slack exports and event CSV/JSON. reference/formats.md says how to export each.

### Two sources disagree about when something happened. Which one wins?

Neither. The report lists the conflict with both references (for example the same event at different times in two sources, or a log whose times go backwards) and leaves the decision to you.

### Does it work on Windows and macOS?

It needs only Python 3.9 or later, but it has been verified on Linux only (Python 3.9, 3.11, 3.12, 3.13). Windows and macOS have not been verified yet. On Windows, named zones need pip install tzdata.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
