v1

latestOpenAPI 3.0.3Apache 2.02026-07-17333686.7 KB
Ingest

Ingest events

Primary structured ingest endpoint. Accepts only a top-level JSON array of event-envelope objects.

  • Each item must contain event plus optional time, source, sourcetype, host, index, and fields.
  • Use /ingest/raw for newline-delimited text or NDJSON.
  • Use /es/_bulk for Elasticsearch bulk payloads.
post/ingest

Request body

eventstring required

Raw event text stored in _raw

timenumber

Unix timestamp in seconds

sourcestring
sourcetypestring
hoststring
indexstring
fieldsobject

Additional scalar fields copied onto the event

Example request

[
  {
    "event": "request completed",
    "source": "api",
    "host": "web-01",
    "fields": {
      "level": "info",
      "duration_ms": 45
    }
  }
]

Response

All events accepted

All 33 operations