Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I access w3c style logs when using firebase hosting

I am using firebase hosting and would like access to w3c style internet access logs for the traffic going to my domain. Is this possible?

Thanks.

like image 679
CPP Avatar asked Apr 16 '15 08:04

CPP


People also ask

How do I check my Firebase Hosting log?

After linking to Cloud Logging, you can view the data usage level for logs from your Hosting sites: In the Cloud Logging integration card in the Firebase console. In the Logs Viewer interface in the Google Cloud Console (the log_bytes metric)

Does Firebase Hosting have CDN?

Firebase Hosting is a fully-managed hosting service for static and dynamic content as well as microservices. The service is backed by SSD storage and a global CDN (content delivery network).

Can Firebase Hosting dynamic website?

Stay organized with collections Save and categorize content based on your preferences. Firebase Hosting provides fast and secure hosting for your web app, static and dynamic content, and microservices.

Should I use Firebase Hosting?

If you are building a web-app, progressive web app, or mobile landing page, you would definitely need hosting. Firebase offers static web hosting for applications built with HTML, CSS, and JavaScript. In terms of security, it uses standard HTTPS and SSL protocols to deliver files and other types of data.


2 Answers

Update 2020-08-12 Firebase Hosting now let's you view, search, and filter your site's web request logs with Cloud Logging.

No.

Disclosure: I work for Firebase.

Firebase's Hosting is most often used for single-page applications that are built on top of Firebase's realtime database. In such applications, the number of times a static resource is retrieved is not a good indicator of the application's usage. Instead of that, most developers rely on the Firebase dashboard that shows the database usage over time, including the number of concurrent connections, data transfer and data storage.

like image 152
Frank van Puffelen Avatar answered Oct 19 '22 17:10

Frank van Puffelen


I realize this is a few years old but what the hell... it's saturday. It looks like the preferred pattern would be to move all your API calls and anything else that's error prone into a Firebase function and add a handler there. You can view this log from your Firebase console...

like image 42
archae0pteryx Avatar answered Oct 19 '22 16:10

archae0pteryx