Developer API
Ingestion Statistics via API

Ingestion Statistics via API

Retrieve ingestion statistics for your stacks using the Logit.io Developer API. These endpoints provide visibility into data flow, throughput, and latency for Logs, Infrastructure Metrics, and Application Performance Monitoring products.

Use your Dashboard API key from the Profile (opens in a new tab) page in the x-api-key header. See Authentication for setup and security. Use @logs_id, @metrics_id, or @apm_id depending on your stack type (from your session/JWT when signed in).

Log Stack: Ingestion Events

Returns ingestion event statistics for a log stack (events per minute, receiving status):

curl -H "x-api-key: @dashboardApiKey" https://dashboard.logit.io/api/stacks/@logs_id/ingestion/events

The response includes receivingData, lastPerMinute, averagePerMinute, and maxPerMinute.

Log Stack: Ingestion History

Returns the pipeline ingestion history for a log stack as time-series points:

curl -H "x-api-key: @dashboardApiKey" https://dashboard.logit.io/api/stacks/@logs_id/ingestion/history

Use this for charts and monitoring of log ingestion over time.

Ingestion Latency

Returns ingestion latency health for any stack product (Logs, Metrics, APM). Use @logs_id, @metrics_id, or @apm_id as appropriate.

curl -H "x-api-key: @dashboardApiKey" https://dashboard.logit.io/api/stacks/@logs_id/ingestion/latency

The response includes health (High/Medium/Low) and currentLag.

Infrastructure Metrics Stack: Ingestion Metrics

Returns ingestion metric statistics for a Metrics stack (Prometheus Remote Write):

curl -H "x-api-key: @dashboardApiKey" https://dashboard.logit.io/api/stacks/@metrics_id/ingestion/metrics

The response includes receivingData, lastPerMinute, lastPerSecond, maxPerMinute, averagePerSecond, and points for graphing.

APM Stack: Ingestion Spans

Returns ingestion span statistics for an Application Performance Monitoring stack:

curl -H "x-api-key: @dashboardApiKey" https://dashboard.logit.io/api/stacks/@apm_id/ingestion/spans

The response includes receivingData, todaysSpanCount, todaysDataSent, avgSpanCount, maxSpanCount, and points.

Full API Reference

See the API Reference for complete endpoint documentation and response schemas.