Forums

Logging to a third party service

Hi, I'm migrating from Heroku to pythonanywhere. In Heroku I have an addon installed that allows me to view my logs in coralogix via Kibana.

Looking through the forums etc I haven't come across an easy way to do this here. I was thinking about using www.loggly.com. Looking through their docs I came across this https://documentation.solarwinds.com/en/success_center/loggly/content/getting-started/gsg-send_data.htm which seems to indicate that if you have rsyslog 5.8 or higher it should work. I'm not sure if this prerequisite is met.

Has anyone else setup a similar service or have any advice?

Thanks.

I don't think that would work -- your code runs on a shared infrastructure, so users are not able to run code with root privileges. Also, it may be worth mentioning, if you want to connect to an external service from PythonAnywhere, you'd need a paid account.

Thanks for the reply. I'm going to be upgrading to a paid account when i have everything working.

What do other users use then for observability / looking at application logs etc?

We don't know what our users are doing unless they tell us, but perhaps one of them will see this and let you know what they are using.