Gos Log V3.0.1 版本发布,高性能大日志检索中台
Gos Log V3.0.1 版本发布,V3.0.1支持功能如下
-
支持客户端logc启动即注册
-
支持服务端logs定时检测客户端在线状态
-
支持关键字不唯一时,也能全部检索
-
优化删除逻辑
版本地址
https://gitee.com/dianjiu/gos-log/releases/V3.0.1
https://github.com/dianjiu/gos-log/releases/V3.0.1
仓库地址
gos-log
https://gitee.com/dianjiu/gos-log(opens new window)
https://github.com/dianjiu/gos-log(opens new window)
gos-log-vue
https://gitee.com/dianjiu/gos-log-vue(opens new window)
https://github.com/dianjiu/gos-log-vue
打包
#gos-log
# 打包服务端
cd gos-log/logs
bee pack -be GOOS=linux
# 打包客户端
cd gos-log/logc
bee pack -be GOOS=linux
# 准备数据库 见gos-log项目下的sql文件夹
# 将打包后的文件上传到服务器指定目录
#gos-log-vue
# 打包构建
yarn run build
# 把dist目录下的文件上传到服务器的指定目录
#启动
#gos-log-logs
# 解压缩
tar -zxf logs.tar.gz -C ./
# 授权
chmod -x logs
# 修改数据库配置、临时目录
sudo vim conf/app.conf
# 启动
nohup ./logs >> logs.log &
#gos-log-logc
# 解压缩
tar -zxf logc.tar.gz -C ./
# 授权
chmod -x logc
# 修改临时目录
sudo vim conf/app.conf
# 启动
nohup ./logc >> logc.log &
#gos-log-vue
# nginx部署如下nginx.conf
server {
listen 2022;
server_name localhost;
location / {
root /web/gos-log/vue;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
location /api {
rewrite ^/api/(.*)$ /$1 break;
proxy_pass http://127.0.0.1:2021;
}
}