https://github.com/tomatophp/laravel-logstash
Elastic Logstash integration for Laravel Apps
https://github.com/tomatophp/laravel-logstash
elasticsearch laravel log-channel logging logstash
Last synced: 12 months ago
JSON representation
Elastic Logstash integration for Laravel Apps
- Host: GitHub
- URL: https://github.com/tomatophp/laravel-logstash
- Owner: tomatophp
- License: mit
- Created: 2024-12-25T13:07:17.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-27T23:19:50.000Z (over 1 year ago)
- Last Synced: 2025-05-09T01:48:15.798Z (about 1 year ago)
- Topics: elasticsearch, laravel, log-channel, logging, logstash
- Language: PHP
- Homepage:
- Size: 889 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README

# Laravel Logstash Log Channel
[](https://github.com/tomatophp/laravel-logstash/actions/workflows/dependabot/dependabot-updates)
[](https://github.com/tomatophp/laravel-logstash/actions/workflows/fix-php-code-styling.yml)
[](https://github.com/tomatophp/laravel-logstash/actions/workflows/tests.yml)
[](https://packagist.org/packages/tomatophp/laravel-logstash)
[](https://packagist.org/packages/tomatophp/laravel-logstash)
[](https://packagist.org/packages/tomatophp/laravel-logstash)
Elastic Logstash log channel for Laravel apps
## Installation
```bash
composer require tomatophp/laravel-logstash
```
on your env add your host with port as a direct http connection on your env, and change the log channel to logstash
```dotenv
LOGSTASH_HOST=https://log.tomatophp.com
LOG_CHANNEL=logstash
```
## Publish Assets
you can publish config file by use this command
```bash
php artisan vendor:publish --tag="laravel-logstash-config"
```
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Security
Please see [SECURITY](SECURITY.md) for more information about security.
## Credits
- [Fady Mondy](mailto:info@3x1.io)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## Testing
if you like to run `PEST` testing just use this command
```bash
composer test
```
## Code Style
if you like to fix the code style just use this command
```bash
composer format
```
## PHPStan
if you like to check the code by `PHPStan` just use this command
```bash
composer analyse
```
## Other Filament Packages
Checkout our [Awesome TomatoPHP](https://github.com/tomatophp/awesome)