{
  "data": null,
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/niches/observability.search-logs/",
    "json": "https://www.anchorterminal.com/niches/observability.search-logs/index.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/niches/observability.search-logs/index.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/niches/observability.search-logs/index.min.md"
  },
  "markdown": "Two or three companies' docs show a full fit.\n\n| Companies, full fit | With a limit | Carry the tag | Share of the category's work | First-hand accounts |\n| --- | --- | --- | --- | --- |\n| 2 | 6 | 11 | 16 | 8 |\n\n## What counts as done\n\nMatching log lines with timestamps and the query used, a count of total matches and a marker when results were truncated, from at most three queries.\n\nHow agents ask for it: search the logs for this request id; find errors for this user in the last hour; is this event in the logs; what did the server log when it failed\n\n## Does the job\n\nThe docs show it meets the test above, and nothing we read says otherwise.\n\n- **Datadog MCP Server (Datadog, Inc.)**: search_datadog_logs takes a query and time range, analyze_datadog_logs counts matches in SQL, and responses are truncated with instructions for fetching more.\n- **Grafana MCP Server (Raintank Inc., d/b/a Grafana Labs)**: query_loki_logs takes LogQL, caps lines at --max-loki-log-limit (100) and requests one extra line to detect truncation, and Loki metric queries count matches. PII redaction is still an open request (#1124).\n\n## Does the job, with a limit\n\nIt does the job, but something in the docs or a user's account will get in an agent's way. The limit is named in each row.\n\n- **Axiom MCP Server (Axiom, Inc.)**: APL search and count in one queryDataset call, but the docs state no result size cap and no truncation marker, and tool schemas are only visible after sign-in.\n- **Better Stack (Better Stack, Inc.)**: One SQL query returns matching lines and counts, and Plan query windows estimates rows read, but no result size limit or truncation marker is documented.\n- **Honeycomb MCP (Hound Technology, Inc. d/b/a Honeycomb)**: run_query is an aggregation query that returns counts and breakdowns; the docs show no raw-row result with a truncation marker, so matching lines come through traces and span details instead.\n- **New Relic MCP Server (New Relic, Inc.)**: list_recent_logs, get_log_statistics and NRQL over Log give lines and counts, but no result cap or truncation marker is documented and tool schemas need a signed-in session.\n- **Rootly MCP Server (Rootly Inc.)**: The observability toolset covers Rootly Observability logs and patterns, but the docs give no query syntax, match count or truncation marker for it.\n- **Sentry MCP (Functional Software, Inc. d/b/a Sentry)**: search_logs returns lines, counts and time series and accepts Sentry search syntax, but an embedded model translates every query, and no truncation marker is documented.\n\n- not this job: Causely MCP server (Causely, Inc.): get_logs returns live or diagnosis-time logs for one entity; there is no search syntax, match count or truncation marker.\n- not this job: Cronitor MCP server (Cronitor): The docs call the server a control plane, not a data plane; there is no log search.\n- not this job: incident.io API (Pineapple Technology Ltd.): No log query tool; ask_telemetry returns a synthesised answer with no documented match count or truncation marker.\n- not this job: PagerDuty MCP Server (PagerDuty, Inc.): No log search; browse_activity returns PagerDuty's own log entries only.\n\n## What stops agents finishing\n\n- empty result returned where the query failed\n- no cap on range or bytes, so one query floods the context\n- personal data in logs that policy bars from the model provider\n\n## Around it\n\nBefore: support.ticket-received, observability.investigate-alert. After: observability.error-to-fix, code.open-pr.\n\n## Where this comes from\n\nWeight 16 of 100 in Observability \u0026 incidents: 8 of 42 accounts (Better Stack, Axiom, CloudWatch, Loki through Grafana)\n\nAs data: https://www.anchorterminal.com/api/v1/use-cases/observability.search-logs.json, or the MCP tool get_use_case with id observability.search-logs. Draft, read 2026-11-15 from public docs and first-hand accounts, not yet reviewed by a person.\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-16",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.8",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "For agents",
        "url": "https://www.anchorterminal.com/agents/"
      },
      {
        "name": "Niches",
        "url": "https://www.anchorterminal.com/niches/"
      },
      {
        "name": "Search logs for a reported error or event",
        "url": ""
      }
    ],
    "description": "Search logs for a reported error or event: 2 companies fully do it, 6 with a limit, 11 carry the tag. Every listing in Observability \u0026 incidents with the reason and a source.",
    "facts": null,
    "h1": "Search logs for a reported error or event",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/niches/observability.search-logs/",
    "published": "",
    "section": "agents",
    "title": "Search logs for a reported error or event | Anchor Terminal",
    "toc": null,
    "updated": "2026-11-15",
    "url": "https://www.anchorterminal.com/niches/observability.search-logs/"
  },
  "tokens": {
    "markdown": 1150,
    "slim": 280
  },
  "version": 1
}
