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.
- elasticsearch
- telescope 5.0 or higher
You can install the package via composer:
composer require saman-jafari/telescope-elasticsearch-driver
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
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.