Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Shipping Centralised logs from App Platform
I’m trying to ship my webserver logs (done the application logs already) to a centralised log service, namely LogDNA.
They have a debian agent which I attempted to install using the PHP heroku builder, however I’m getting ‘No route to host’ when trying to download the agent GPG key from https://repo.logdna.com (see https://docs.logdna.com/docs/ingestion-methods), do you have an allowlist of domains during the build stage?
Currently I’m installing the agent during the build commands and then starting it in the run commands.
Additionally, the package installation requires using apt-get, which isn’t accessible with the build user, is there any way to add a package and source to the initial “Installing platform packages…” stage.
Would I be able to configure this using the Heroku builder with some additional configuration or would this need to be using a custom Dockerfile? I feel like the 'No route to host’ issue would still be there though