Is it possible to set up Heroku log drains to only "drain" application logs?

604 Views Asked by At

I just set up a log drain to Loggly from my Heroku app, but Loggly is receiving my application logs (logs you'd see with heroku logs --source app) as well as the Heroku logs (logs you'd see with heroku logs --source heroku). Is there a way to set the drain so that only application logs are being sent to Loggly?

1

There are 1 best solutions below

2
Denis Cornehl On BEST ANSWER

No, there is no way to filter the drain.

Any filtering has to happen on the receiving end.