Elasticsearch
Integration
API Key
Either create a new API key or provide an existing one.
Birch
Add the integration to your dashboard.
Field | Value | Required |
---|---|---|
Name | A name to identifiy the drain | ✔ |
API Key | The API key used to authenticate | ✔ |
Elastic Index | Which index to place the logs under | ✔ |
URL | The full url to your elasticsearch instance | ✔ |
Log Format
{
"timestamp": "2022-10-25T02:05:15+00:00",
"level": 0,
"source": {
"uuid": "954257b7-1feb-4fd1-8cb8-a047a105ff26",
"package_name": "com.gruffins.birch.app",
"app_version": "1.0",
"app_build_number": "1",
"brand": "google",
"manufacturer": "google",
"model": "pixel 3a",
"os": "Android",
"identifier": "user_id",
"custom_property__key": "value",
"custom_property__key_1": "value 1"
},
"message": "hello"
}