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 (see, 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

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer