Logs
The Logs section shows every activity happening in your database in real-time. See connections opening and closing, operations being executed, and errors as they happen. This is your window into what your database is actually doing.
Real-Time Activity Stream
Open the Logs section and you're watching your database's heartbeat in real-time. Every connection, every operation, every error streams past. It's like looking over your database's shoulder as it works.
This is invaluable when something goes wrong. Deploy new code and watch logs. See connections spike? That's expected when your app starts up. See error messages? Now you know exactly what broke.
Logs update live. If your database is active right now, you'll see entries appearing instantly. Sit and watch for a minute to get a feel for the activity pattern.
Understanding Log Entries
Each log entry shows several pieces of information:
Timestamp: When this action happened. Millisecond precision helps you correlate with app events.
Message: What actually happened. "Connection accepted", "Operation successful", "Authentication failed", "Client disconnected".
Level: How severe the entry is. Info for normal activity, warning for potential issues, error for failures.
Details: Extra information like client IP, operation type, execution time, or error codes.
Log format varies depending on your database type. MongoDB logs differently than PostgreSQL, and Redis has its own format. Galaxy shows them all in their native format so you see exactly what your database is reporting.
Filtering Logs
Looking through all logs can be overwhelming. Use filters to find what matters:
Search field: Type any text to find matching entries. Looking for failed authentications? Search "authentication". Want to see what happened with a specific client? Search the IP address.
Older entries: Use "See Older" button to browse back through history and see what happened previously.
The search is straightforward text matching, so be specific. Too broad and you'll get thousands of results. Too specific and you'll miss things.
Live Mode
Toggle between live streaming and viewing static logs. When live mode is active, new entries appear instantly as they happen. When it's off, you're viewing a snapshot.
Live mode on: Perfect for testing your app when you just deployed. Push some traffic through and watch logs appear in real-time. You'll see exactly what your database is doing.
Live mode off: Better for reviewing what happened in the past. Take your time reading through entries without new ones pushing things off screen.
Deploy new code and turn on live mode. Watch logs for 30 seconds. You'll see your app connect, run queries, maybe hit an error. This is how you spot issues before users notice.
What's Next?
Metrics
The Metrics section shows real-time and historical performance data for your database. Watch CPU, memory, connections, disk usage, and network activity to understand how your database is performing.
Query Insights
The Query Insights section analyzes your database queries to identify performance bottlenecks. See which queries are slow and get a clear picture of where your database is spending time.
