定制 magestack/module-opensearchlogger 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

magestack/module-opensearchlogger

最新稳定版本:v1.0.0

Composer 安装命令:

composer require magestack/module-opensearchlogger

包简介

This Magento 2 module provides a mechanism to store a copy of your application logs into opensearch.

README 文档

README

⚠️ NOTICE: Use LogstashWrapper instead of this repository.

Magento 2 Module - MageStack_OpenSearchLogger

``magestack/module-opensearchlogger``

Main Functionalities

This Magento 2 module provides a mechanism to store a copy of your application logs into a secondary store (e.g., Elasticsearch/OpenSearch), enabling faster and more convenient log searching, filtering, and analysis — directly from logs emitted by Magento.

Key Features

  • Captures and mirrors Magento logs in realtime (error, warning, debug, etc.)
  • Enhances observability and supports real-time debugging
  • Structured log storage for easy querying and statistics
  • Admin configuration options to control log levels and log storage behavior
  • Monthly log rotation to manage log size and retention
  • Remove old logs automatically after a six month period

Use Cases

  • Quickly search and analyze logs without digging through files
  • Generate usage or error statistics for monitoring
  • Investigate application behavior via structured context and extra data

Performance & Scalability

  • Recommended for small to medium traffic applications
  • For high-traffic applications, it is recommended to use Filebeat or similar log shipper tools to sync logs directly from the file system to external services like Elasticsearch or Opensearch, making the log mirroring process fully independent of the Magento runtime.

Supported Version

``Magento 2.4.8``

Installation

  • Install the module composer by running composer require magestack/module-opensearchlogger
  • enable the module by running php bin/magento module:enable MageStack_OpenSearchLogger
  • apply database updates by running php bin/magento setup:upgrade
  • Flush the cache by running php bin/magento cache:flush

Configuration

  • The module can be configured via the Magento Admin Panel under Stores > Configuration > Easy Mage > OpenSearch Logger at default level only.

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2025-04-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固