Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there firebase realtime database server logs exists?

I faced a problem with my app using Firebase Realtime Database. At some point of time one of the user data records was like a wiped out of my database and I have no idea how it could happen.

So my question is: is there any way to get some kind of firebase server logs to find out what happened, what requests of my app caused data loss. Right now I couldn't find any history in Firebase console.

If there are no history then what should I do to investigate such cases in future? Some suggestions/practices? Thanks.

like image 875
G-Shadow Avatar asked Dec 02 '18 12:12

G-Shadow


People also ask

Is Firebase Realtime Database a server?

The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client.

How do I check my Firebase Realtime Database?

After creating a new project, navigate to the Tools option on the top bar. Inside that click on Firebase. After clicking on Firebase, you can get to see the right column mentioned below in the screenshot. Inside that column Navigate to Firebase Realtime Database.

Can I query Firebase database?

Querying DataWith Firebase database queries, you can selectively retrieve data based on various factors. To construct a query in your database, you start by specifying how you want your data to be ordered using one of the ordering functions: orderByChild() , orderByKey() , or orderByValue() .

Is Firebase Realtime Database secure?

Firebase Security Rules provide robust, completely customizable protection for your data in Cloud Firestore, Realtime Database, and Cloud Storage. You can easily get started with Rules following the steps in this guide, securing your data and protecting your app from malicious users.


1 Answers

There's no server side logging, history, or auditing available to developers in Realtime Database. There's really nothing you can do to investigate using tools provided by Firebase. You need to have your own auditing or backups in place.

like image 157
Doug Stevenson Avatar answered Sep 27 '22 17:09

Doug Stevenson