# Elasticsearch

For Clete to properly capture logs from Heroku, it needs 5 key inputs

* API Key
* Log endpoint (collected during your service configuration)
* service name
* message field

```json
{
  "LOGS.endpoint": "https://cloudwatch-test-ecs-logs-cluster.es.us-east-1.aws.found.io/filebeat-*",
  "LOGS.match_query": "{\n  \"service-name\": \"elastic-server\"\n}",
  "LOGS.message_field": "message"
}
```
