db log forwarding to papertrail, betterstack telemetry (formerly logtail)
D
DubClub Devs
Hi đź‘‹
We would like to forward logs from db to betterstack, just like with App Platform. For App Platform, we use the following terraform config:
log_destination {
name = var.DIGITALOCEAN_PROJECT
logtail {
token = var.BETTERSTACK_TELEMETRY_TOKEN
}
}
app platform terraform supports papertrail, datadog, logtail, opensearch ref https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/app#log_destination-1
managed db supports opensearch, elasticsearch, rsyslog (see picture from DO UI), but this can't be configured via terraform (github issue: https://github.com/digitalocean/terraform-provider-digitalocean/issues/1372)
D
DubClub Devs
related to https://ideas.digitalocean.com/app-platform/p/open-telemetry-apps-log-exporter