w0s1nsk1 / telescope-elasticsearch-driver
it will allow you to switch from sql database to elasticsearch as driver for your data storage and it will eliminate the deadlock so it makes telescope a ready for production logging system.
Requires
- php: ^8.1
- elasticsearch/elasticsearch: ^v8.8.0
- laravel/telescope: ^v5.0
README
it will allow you to switch from sql database to elasticsearch as driver for your data storage, and it will eliminate the deadlock so it makes telescope a ready for production logging system.
Prerequisite
- elasticsearch
- telescope 5.0 or higher
Installation
You can install the package via composer:
composer require w0s1nsk1/telescope-elasticsearch-driver
Usage
first set driver of telescope to elasticsearch
TELESCOPE_DRIVER=elasticsearch
then you need to set elasticsearch related config in your .env file
example:
TELESCOPE_ELASTICSEARCH_HOST=https://elasticsearch:9200/ TELESCOPE_ELASTICSEARCH_USERNAME=elastic TELESCOPE_ELASTICSEARCH_PASSWORD=changeme TELESCOPE_ELASTICSEARCH_INDEX=telescope_index
if you want you can publish the config file too
php artisan vendor:publish --tag=telescope-elasticsearch-driver-config
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email tomek12wosin@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.