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.
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)
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).
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.
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.
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.
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...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With