Back to Top

EFK Setup For Magento 2

Updated 11 March 2024


The EFK setup for magento 2 provides Elasticsearch, Fluentd and Kibana integration with the magento framework as a centralized logging and monitoring stack. In addition it helps users to view and analyse the log data in real time, helping them to detect the errors and enhance the quality of code.

A centralized cluster-level logging stack can help you quickly sort through and analyze the heavy volume of log data generated while running multiple services and applications. In other words, the Elasticsearch, Fluentd, and Kibana (EFK) stack is one common centralized logging solution.

Using the Magento 2 Elastic Search now your customers can easily search using the fastest search engine.


  • One time setup and installation of Elasticsearch, Fluentd and Kibana .
  • Interactive graphical visuals using pie charts, bar graphs, etc.
  • Magento logs detailed monitoring and facility of quick reviewing by filtering logs on the basis of the system , exception , debug logs levels.
  • Detailed Webserver (Apache) access and error logs monitoring with the facility of filter logs on the basis of the apache methods counts, apache agents, paths, IP Addresses, etc.
  • Interactive Kibana Dashboard creation for quick log access.
  • User authentication management interface using Kibana’s plugins.
  • Visualize all the generated logs stored at one place.


EFK Setup For Magento 2 plan includes one-time installation and configuration of Elasticsearch, fluent and kibana on the servers given by the customer and their integration with Magento and Webserver logs.

1.) Fluentd (or TD-agent) gets installed on the server where Magento logs and Web server logs are present. Magento application is running on one server which will act as a forwarder and Elastic search and kibana are installed on second server which will act as a log aggregator, the TD-agent will be installed on both servers that collects the logs from the forwarder and forward them to the aggregator and pushes them to the Kibana.

Start your headless eCommerce
Find out More

2.) Elastic search and kibana will be installed on a different server provided by the customer with the following configurations –

  • A scalable Ubuntu server for Elasticsearch – Kibana setup with 4-6 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.

How to Use EFK Setup For Magento 2

1.) Firstly , Browse your Kibana panel URL and login with the provided non-admin user credentials.


2.) Once Kibana panel is accessible, select the time range for which you want to check your logs.


3.) In Kibana navigation sidebar, click on Discover tab, to check detailed information about server logs.


4.) Now click on Visualize tab, as a result it offers indexes of individual data inspection from Kibana dashboard.


5.) Click on the Dashboard tab and go to individual logs window by clicking on Magento, Apache logs.


6.) Similarly, Go to panel health monitoring section by clicking on Monitoring tab consequently to view Elasticsearch and Kibana health status.


In conclusion, this guide will help you to understand about how to setup EFK For Magento 2. As a result, It helps users to view and analyse the log data in real time. In addition you can visualise all your server and logs all at one place.


Was this guide helpful? Please share your feedback in the comments below.

In case you have any issues/queries regarding the module please raise a ticket at

For any further information or query contact us at [email protected].

Thanks for reading!!

Current Product Version - 1.0

Supported Framework Version - Magento

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home