---
title: "Elasticsearch _bulk API"
method: POST
path: "/es/_bulk"
tags: ["Compatibility"]
---

# Elasticsearch _bulk API

`POST /es/_bulk`

Drop-in compatible with Filebeat, Logstash, Vector, Fluentd.
`_index` maps to `_source` tag. `_type` is ignored.

```yaml
# Filebeat config:
output.elasticsearch:
  hosts: ["http://lynxdb:3100/api/v1/es"]
```

## Response `200`

ES-compatible bulk response

- ESBulkResponse
  - `took` integer
  - `errors` boolean
  - `items` object[]
    - `index` object
      - `_id` string
      - `status` integer

---

[API](https://skmtc.net/lynxbase/apis/lynxdb-api.md) · [All operations](https://skmtc.net/lynxbase/apis/lynxdb-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lynxbase/lynxdb-api/revisions/4363a070c444/schema)
