2 months ago
I want to export the logs for all of my railway deployments through some api to basically automate the process so that railway automatically forwards the logs for all of my deployments directly to my specified endpoint or third party platform
I tried going through similar question asked in the community but I'm still pretty confused on how to properly implement the suggestions and soluions given by the community and whether any of them work and how do they exactly word and if or not they will fulfill my requirements
1 Replies
2 months ago
Hi there
Railway doesn't have a built-in log forwarding API, but you can integrate with third-party logging platforms by deploying a logging agent in your project. We have a Datadog Agent template available that you can set up with your Datadog API keys to collect and forward logs automatically.
To point you in the right direction, it'd help to know which logging platform you're targeting and whether you need real-time streaming or periodic exports. With those details, I can give you more specific guidance on the best approach for your setup.
Status changed to Awaiting User Response Railway • 2 months ago
2 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 2 months ago