https://github.com/svilborg/logsinfo
Log Info and stats for syslog, apachelog, etc..
https://github.com/svilborg/logsinfo
Last synced: about 1 year ago
JSON representation
Log Info and stats for syslog, apachelog, etc..
- Host: GitHub
- URL: https://github.com/svilborg/logsinfo
- Owner: svilborg
- Created: 2018-05-06T16:21:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-22T00:17:11.000Z (almost 3 years ago)
- Last Synced: 2025-01-26T04:27:51.314Z (over 1 year ago)
- Language: PHP
- Size: 798 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
LogInfo
==========
Log Info and stats for syslog, apachelog, etc..
* Free software: Apache license 2.0
Features
--------
* artisan logsinfo:show --a --t=apachelog

* artisan logsinfo:send --a --t=syslog

* API
* artisan serve
* http://localhost:8000/?type=apachelog&field=code
```
{
"data": [
{
"name": "404",
"count": 3,
"percent": "75 %"
},
{
"name": "200",
"count": 1,
"percent": "25 %"
}
],
"links": {
"self": "/"
}
}
```
* http://localhost:8000/chart?type=syslog&field=hour
<< Image >>