Skip to content

saman-jafari/telescope-elasticsearch-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enables you to use Elasticsearch for telescope so it does NOT use relational database

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.