# Filebeat compatibility

Use docker.elastic.co/beats/filebeat:8.17.3 on amd64 or arm64. The ingest host provides a static version handshake and basic license response; bulk writes require your ingest key. Keep templates and lifecycle management disabled. Set EPOK\_INGEST\_KEY in the process environment; `headers.x-api-key` sends it without the different Elasticsearch ApiKey encoding. A document with no message field (`message`,`msg`, `log` or `_msg`) is dropped, not billed, and answered `noop`.

## Configuration

```
# filebeat.yml — Elasticsearch output to Epok (bulk API; Filebeat 8.x)
filebeat.inputs:
  - type: filestream
    id: app-logs
    paths: [/var/log/app/*.log]
    fields_under_root: true
    fields:
      service: my-app
output.elasticsearch:
  hosts: ["https://ingest.epok.cloud"]
  headers:
    x-api-key: "${EPOK_INGEST_KEY}"
  # Epok is not an Elasticsearch cluster: no templates or lifecycle policies.
  allow_older_versions: true
setup.template.enabled: false
setup.ilm.enabled: false
```

Keep your ingest key private. Missing keys return 401; unknown keys return 403. A successful HTTP response alone is not proof of stored data.

[Vector JSON logs](https://epok.cloud/docs/install/vector) [All install guides](https://epok.cloud/docs)
