https://github.com/mirocow/yii2-elasticsearch-log
Elasticsearch log storage module
https://github.com/mirocow/yii2-elasticsearch-log
elasticsearch elasticsearch-log-storage elk kibana logger yii2 yii2-elasticsearch
Last synced: about 1 month ago
JSON representation
Elasticsearch log storage module
- Host: GitHub
- URL: https://github.com/mirocow/yii2-elasticsearch-log
- Owner: Mirocow
- Created: 2018-10-15T11:17:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-20T02:18:46.000Z (over 5 years ago)
- Last Synced: 2025-04-16T20:15:07.739Z (about 1 month ago)
- Topics: elasticsearch, elasticsearch-log-storage, elk, kibana, logger, yii2, yii2-elasticsearch
- Language: PHP
- Homepage: http://mirocow.com
- Size: 33.2 KB
- Stars: 9
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Elasticsearch log storage module based on mirocow/yii2-elasticsearch
[](https://packagist.org/packages/mirocow/yii2-elasticsearch-log) [](https://app.fossa.io/projects/git%2Bgithub.com%2FMirocow%2Fyii2-elasticsearch-log?ref=badge_shield)
[](https://packagist.org/packages/mirocow/yii2-elasticsearch-log)
[](https://packagist.org/packages/mirocow/yii2-elasticsearch-log) [](https://packagist.org/packages/mirocow/yii2-elasticsearch-log)
[](https://codeclimate.com/github/Mirocow/yii2-elasticsearch-log/maintainability)Docs are available in english and [russian](README.ru.md).
* Conclusion is easy to review and administer using Kibana
* The date format is provided in the form *YYYY-MM-DD HH:mm:ss* and must be UTC# Install
```bash
$ composer require --prefer-dist mirocow/yii2-elasticsearch-log
```# Setup
```php
return [
'components' => [
'log' => [
'targets' => [
[
'class' => 'mirocow\elasticsearch\log\ElasticsearchTarget',
'levels' => ['error', 'warning'],
'index' => 'yii-log',
'type' => 'console',
],
],
],
],
];
```# Tutorial
How we can use Discover, Visualization and Dashboard with cusom data
* https://www.youtube.com/watch?v=imrKm6dV3NQ# Depends
* [Mirocow/yii2-elasticsearch](https://github.com/Mirocow/yii2-elasticsearch)
## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2FMirocow%2Fyii2-elasticsearch-log?ref=badge_large)