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.

2.0.2 2024-11-14 13:37 UTC

This package is auto-updated.

Last update: 2024-11-14 13:41:46 UTC


README

Latest Version on Packagist Total Downloads

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.