This page explains how to use the ingestion_time function in APL.
ingestion_time
function to retrieve the timestamp of when each record was ingested into Axiom. This function helps you distinguish between the original event time (as captured in the _time
field) and the time the data was actually received by Axiom.
You can use ingestion_time
to:
Splunk SPL users
_indextime
field, which represents when an event was indexed. In APL, the equivalent concept is accessed using the ingestion_time
function, which must be called explicitly.ANSI SQL users
ingestion_time
, since SQL databases typically do not distinguish ingestion time from event time. APL provides ingestion_time
for observability-specific workflows where the arrival time of data is important.datetime
value that represents when each record was ingested into Axiom.
ingestion_time
to identify delays between when an HTTP request occurred and when it was ingested into Axiom.Query_time | ingest_time | delay | method | uri | status |
---|---|---|---|---|---|
2025-06-10T12:00:00Z | 2025-06-10T12:01:30Z | 90 | GET | /api/products | 200 |
2025-06-10T12:05:00Z | 2025-06-10T12:06:10Z | 70 | POST | /api/cart/add | 201 |