---
title: Logging Endpoint Errors
summary: These endpoints stream recent errors for logging endpoints, providing visibility into logging pipeline issues for troubleshooting and resolution.
url: https://www.fastly.com/documentation/reference/api/logging/errors
---

These endpoints stream recent errors for logging endpoints, providing visibility into logging pipeline issues for troubleshooting and resolution.

## Data model

| Field | Type | Description |
|-------|------|-------------|
| `detail` | string | A human-readable explanation specific to this occurrence of the problem. |
| `errors` | array |  |
| `title` | string | A short, human-readable summary of the problem type. |
| `type` | string | A URI reference that identifies the problem type. |
| `details` | string | Additional error details as a JSON string. |
| `endpoint` | string | Name of the logging endpoint that generated the error. |
| `error_time_us` | integer | Timestamp of the error in microseconds. |
| `message` | string | User-friendly error message. |
| `sequence_number` | integer | Sequence number for ordering messages. |
| `stream` | string | The stream type, always 'logging_error' for logging endpoint errors. |
| `batch_id` | string | Unique identifier for this batch of logs. |
| `logs` | array |  |

## API endpoints

### Stream Log Endpoint Errors

**GET** `/observability/service/{service_id}/logging/errors`

Provides a near real-time stream of log errors through a hybrid short-polling model.
A client should make an initial request using the <code>from</code> parameter to specify a start time.
The <code>to</code> parameter should be used alongside the <code>from</code> parameter since the default bucket is 10 seconds.
For pagination, use the URLs provided in the Link header of the response. These contain
updated <code>from</code> timestamps for retrieving the next or previous page of logs.
Defaults to <code>application/x-ndjson</code> format. Use <code>Accept: application/json</code> header
to request standard JSON array format instead.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `filter[endpoint]` | string | query | No | A comma-separated list of logging endpoint names to filter the error stream. |
| `from` | integer | query | No | A Unix-formatted timestamp to start the log stream from. Required for the initial request only. If not used in conjunction with the <code>to</code> parameter, the range of the query will be a 10-second bucket. |
| `service_id` | string | path | Yes | Alphanumeric string identifying the service. |
| `to` | integer | query | No | A Unix-formatted timestamp to end the log stream. The maximum range between <code>from</code> and <code>to</code> is 1 hour; requests exceeding this limit will return an error. |

