Description
Odoo EFK Log Monitoring is a centralized logging setup that connects Elasticsearch, Fluentd, and Kibana with your Odoo application. It covers Odoo logs, PostgreSQL logs, and the access and error logs of your Nginx or Apache web server.
Fluentd, also called TD-agent, runs on the server that holds the logs. It collects them and sends them to Elasticsearch.
Kibana then shows the logs on dashboards. Users can filter entries, pick a time range, and read pie charts and bar graphs.
The installation is done once, on servers you provide. Elasticsearch and Kibana need a separate Ubuntu server.
Also, if you want to host Odoo on AWS EC2 with PostgreSQL on AWS RDS, then check Odoo Cloudkul Gold Plan.
Highlighted Features of Odoo EFK Log Monitoring
One-Time EFK Installation
Elasticsearch, Fluentd, and Kibana are installed and integrated once on the servers you provide.
Odoo Log Monitoring
Filter Odoo logs by database name, client IP address, status code, method, and Odoo log level.
PostgreSQL Log Monitoring
Filter PostgreSQL logs on database name, database access count, and database log level.
Web Server Log Monitoring
Check Nginx or Apache access and error logs. Filter by method, status, client IP, log level, and path.
Interactive Kibana Dashboards
Open logs quickly on Kibana dashboards. Read them as pie charts and bar graphs for a period you select.
Admin and Read-Only Users
Create an admin user and a read-only user so each person gets the right level of panel access.
Why Do We Need Odoo EFK Log Monitoring?
Odoo EFK Log Monitoring is needed because Odoo, PostgreSQL, and the web server each keep their own log files. Checking them one by one takes time.
Plain log files cannot show a database name, a client IP, and a status code together in one filtered view.
With the EFK stack, all three log types land in one place. Your team can find errors sooner and debug them faster.
Fluentd needs at least 2 GB of RAM on the log server, plus 4 GB of swap memory. This is on top of the RAM that Odoo and PostgreSQL already use.
Also, if you want Odoo to access Amazon S3 cloud storage, you can check our extension Odoo Amazon S3 Cloud Storage.
Use Cases
-
Debug Odoo Errors Faster
Filter Odoo logs by log level and status code to find failed requests faster.
-
Review Database Activity
Check PostgreSQL logs for each database and view access counts to understand database usage.
-
Check Web Server Traffic
Filter Nginx or Apache logs by client IP, method, status, and path to review incoming requests.
-
Give Support Staff Read-Only Access
Create read-only users so support staff can view logs in Kibana without admin access.
-
Investigate an Incident Window
Select a time range in Kibana and use the Discover tab to review server logs from that period.
-
Watch Stack Health
Open the Monitoring tab to check the health status of Elasticsearch and Kibana.
Odoo Logs Dashboard
The Odoo logs tab lists Odoo application logs for quick review. Users narrow the list with filters instead of reading the full log file.
- Open the Odoo logs window from the Dashboard tab.
- Filter Odoo logs by database name and client IP.
- Filter Odoo logs by status code and method.
- Filter Odoo logs by Odoo log level.
- Pick a time range to see only the Odoo logs from that period.
PostgreSQL Logs Dashboard
The PostgreSQL logs tab shows detailed database logs. Users review them with filters built for database activity.
- Open the PostgreSQL logs window from the Dashboard tab.
- Narrow PostgreSQL logs to one database name.
- Filter PostgreSQL logs by database access count.
- Filter PostgreSQL logs by database log level.
- Limit PostgreSQL logs to the period you choose.
Nginx Access and Error Logs Dashboard
The Nginx access and Nginx error tabs show web server logs from the Dashboard tab. The setup works with Nginx or Apache as the backend.
- Open the Nginx access tab to read Nginx access logs.
- Open the Nginx error tab to review web server error logs.
- Filter web server logs by method, status, and client IP.
- Filter web server logs by log level and path.
- Show only the web server logs from your chosen period.
Prerequisites For EFK setup for Odoo Plan
- A scalable Ubuntu server for Elasticsearch-Kibana setup with 6-8 GB RAM, 2-4 CPU cores.
- Disk storage space should be at least 30-50 GB with the scope of upgradation if needed.
- Server root or master access to install needed packages and software.
Dedicated Support For EFK setup for Odoo Plan
The support period is for 7 days excluding Weekends and will be applicable only for Office working hours as per Indian Standard Time.
For any query or issue please create a support ticket here http://webkul.uvdesk.com/
You may also check our other top-quality Odoo Apps.