PHPackages                             magestack/module-opensearchlogger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. magestack/module-opensearchlogger

AbandonedArchivedMagento2-module[Logging &amp; Monitoring](/categories/logging)

magestack/module-opensearchlogger
=================================

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

v1.0.0(1y ago)011GPL-3.0PHP

Since Apr 23Pushed 12mo ago1 watchersCompare

[ Source](https://github.com/attherateof/OpenSearchLogger)[ Packagist](https://packagist.org/packages/magestack/module-opensearchlogger)[ RSS](/packages/magestack-module-opensearchlogger/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

⚠️ **NOTICE:** Use [LogstashWrapper](https://github.com/attherateof/LogstashWrapper) instead of this repository.

Magento 2 Module - MageStack\_OpenSearchLogger
==============================================

[](#magento-2-module---magestack_opensearchlogger)

```
``magestack/module-opensearchlogger``

```

Main Functionalities
--------------------

[](#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

[](#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

[](#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 &amp; Scalability

[](#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
-----------------

[](#supported-version)

```
``Magento 2.4.8``

```

Installation
------------

[](#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
-------------

[](#configuration)

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance52

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

381d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/02295abcdcc4c2368f46444437137094c48d37b1693dfc9becb7e3666c17b747?d=identicon)[attherateof](/maintainers/attherateof)

---

Top Contributors

[![attherateof](https://avatars.githubusercontent.com/u/153972349?v=4)](https://github.com/attherateof "attherateof (3 commits)")

### Embed Badge

![Health badge](/badges/magestack-module-opensearchlogger/health.svg)

```
[![Health](https://phpackages.com/badges/magestack-module-opensearchlogger/health.svg)](https://phpackages.com/packages/magestack-module-opensearchlogger)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.1k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M93](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M137](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
