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
Code language: JavaScript (javascript)
  • 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
Code language: JavaScript (javascript)
  • enable the module by running
php bin/magento module:enable Hidro_Graylog
Code language: JavaScript (javascript)
  • 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"
Code language: JavaScript (javascript)

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

2 thoughts on “Magento 2 Graylog integration”

  1. 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.

    Reply
Average
5 Based On 1

Leave a Comment