# Filebeat

Logs through the Elasticsearch output.

Logs Available

[Open the Connect card in Epok](https://app.epok.cloud/#/connect) [Full setup guide](https://epok.cloud/docs/install/filebeat)

## What you get

Logs, arriving through Elasticsearch bulk API.

## Set it up

1. Create an ingest key in Epok: Settings, then API keys.
2. Set EPOK\_INGEST\_KEY in Filebeat's process environment.
3. Use the Elasticsearch output from the setup page: the Epok ingest host, the key in the x-api-key header, and templates and lifecycle management turned off.
4. Search for the logs in Explore.

The commands and configuration for each step are on the [setup guide](https://epok.cloud/docs/install/filebeat).

## What was tested

- The published setup, run against a local copy of Epok's ingest stack: 1 run.
- Code tests of the ingest route or the sender: 2 tests.
- No run against the hosted service is recorded yet.

## What you see in Epok

- Explore and Live tail: search, patterns and new errors.

## Troubleshooting

- Keep index templates and lifecycle management off, as the setup page shows.
- A successful HTTP response alone does not prove the data was stored. Search for it.

## More in Agents & collectors

[OpenTelemetry Collector](https://epok.cloud/integrations/otel-collector) [Vector](https://epok.cloud/integrations/vector) [Fluent Bit](https://epok.cloud/integrations/fluentbit-es) [Syslog](https://epok.cloud/integrations/syslog) [Host metrics](https://epok.cloud/integrations/host-metrics)
