Magento 2 Graylog integration

Magento 2 Graylog integration

This module allows your Magento website to push the log to your Graylog service, easy to use, stable, helps you investigate the log faster.

>> hidro/module-graylog – Packagist

What is Graylog:
“Graylog provides answers to your team’s security, application, and IT infrastructure questions by enabling you to combine, enrich, correlate, query, and visualize all your log data in one place”: Industry Leading Log Management | Graylog


Main Functionalities
Installation

Type 1: Zip file
Unzip the zip file in app/code/Hidro
Enable the module by running

php bin/magento module:enable Hidro_Graylog

Apply database updates by running

php bin/magento setup:upgrade

Flush the cache by running

php bin/magento cache:flush

Type 2: Composer
Make the module available in a composer repository for example:
public repository packagist.org

Install the module composer by running

composer require hidro/module-graylog

enable the module by running

php bin/magento module:enable Hidro_Graylog

apply database updates by running

php bin/magento setup:upgrade

Flush the cache by running

php bin/magento cache:flush

Configuration

  • Enabled (system/graylog/enabled)
  • Host (system/graylog/host)
  • Port (system/graylog/port)

Specifications

Console Command

  • bin/magento magento_graylog:test –message=”It work”

 

Readmore modules: Mistake in your article? Ask me!!!

Leave a Reply

Your email address will not be published.