rajmundtoth0/laravel-auditing-elasticsearch-driver
An Elasticsearch driver for the Laravel Auditing package. Store and query model audit trails in Elasticsearch instead of a relational database, giving you fast, scalable, full-text search over your application's change history with minimal configuration.
laravel-auditing and Elasticsearch as an audit/event store. The 2.0 config overhaul, data stream handling, and retry coverage align better with modern Elasticsearch operations, but the package is not appropriate for teams without Elasticsearch expertise or without an existing Laravel Auditing use case.^8.19 and Elasticsearch 9.3.1 with client ^9.3 is a positive integration signal, but Laravel/PHP/Laravel Auditing compatibility must be confirmed from package metadata.laravel-auditing versions are supported? Is Elasticsearch 7 supported, or only the tested 8.19/9.3 matrix? Is there an official migration guide for audit.php and custom mappings? Are existing indices/data streams compatible, or is reindexing required? Are retries configurable and idempotent? What Elasticsearch privileges does the setup command require? What is the maintainer/support model for production use?audit.php configuration. The team should treat the Elasticsearch PHP client version as part of the application dependency contract, not an incidental Composer update.audit.php, custom mappings, JSON definition usage, date-format overrides, and index/data stream naming. Pin 1.4.4 as the rollback baseline, upgrade in a branch, migrate configuration to the new explicit model, align the PHP client with the target Elasticsearch minor, and validate the setup command against staging before production.^8.19 and Elasticsearch 9.3.1 with client ^9.3. Other Elasticsearch minors, especially 7.x, are not evidenced. Custom mapping overrides must be checked against the removed deprecated date format. Local integration tests should mirror the CI version pairing to avoid false confidence.audit.php and mapping overrides; 4) run setup in non-production; 5) validate audit writes, reads, retention, and failure modes; 6) canary deploy with audit-write monitoring; 7) roll out production; 8) retire old JSON definitions and legacy mappings only after retention/rollback windows. For zero-downtime needs, evaluate a new data stream or dual-write cutover rather than in-place mutation.audit.php, mapping templates, data stream/ILM policy, and Elasticsearch operations. Confirm maintainer responsiveness and release cadence before relying on it for compliance-grade audit retention.audit.php, residual JSON definition keys, incompatible custom mappings, removed date-format usage, Elasticsearch/PHP client mismatch, insufficient setup privileges, data stream/ILM creation errors, and audit writes affecting application latency. Add alerts for audit write failures, Elasticsearch cluster health, index/data stream creation failures, and retry spikes.How can I help you explore Laravel packages today?