mirocow / yii2-elasticsearch-log
Yii2 elasticsearch log storage
Installs: 14 147
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 2
Forks: 5
Type:yii2-extension
Requires
- php: >=5.4.0
- mirocow/yii2-elasticsearch: ^1.0.15
- yiisoft/yii2: >=2.0
This package is auto-updated.
Last update: 2024-10-23 10:43:27 UTC
README
Docs are available in english and russian.
- 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
$ composer require --prefer-dist mirocow/yii2-elasticsearch-log
Setup
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