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? Email me!!!

2thoughts on this post

  1. stewartorton

    Excellent goods from you, man. I have understand your stuff previous to
    and you are just too wonderful. I really like what you've
    acquired here, really like what you are saying and the way in which you say
    it. You make it enjoyable and you still take care of to keep it wise.

    I cant wait to read much more from you. This is really a terrific site.

    1. Hidro Le

      Thanks very much.

Comments are closed — this site is now a static build. Reach out via the about page instead.