Moving away from Azure Log Analytics into Grafana-Loki

Hi everybody!
Trying to move away from Azure Log Analytics into Grafana-Loki for log aggregation and querying but I am hitting some conceptual issues:
The idea is to bypass entirely the cost of sending logs to Azure Log Analytics

  1. How do I send application logs to Loki from:
  • Azure WebApps
  • Azure Functions

Do I need to send those logs to Azure Log Analytics ($3 per GB) first? and fetch them from there?
Can I use a Serilog Sink to send those logs to a Grafana-Loki directly, should I?
What are best practices in order to safe cost in this situation?

Best
Balderrama