saman-jafari / 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.
Installs: 3 953
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 0
Forks: 1
Open Issues: 0
Requires
- php: ^8.0
- 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 saman-jafari/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 isaimon@me.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.