Gos Log V21.05.20 版本发布,高性能大日志检索中台

栏目: 软件资讯 · 发布时间: 5年前

内容简介:V21.05.20 版本更新内内容 :white_check_mark: 1、 上线Gos Log 官网 https://goslog.dianjiu.org.cn :white_check_mark: 2、 优化并行查询速度,查询全部服务器理论耗时于单台服务相当 :white_check_mark: 3、 ...

V21.05.20 版本更新内内容
✅ 1、 上线Gos Log 官网 https://goslog.dianjiu.org.cn
✅ 2、 优化并行查询速度,查询全部服务器理论耗时于单台服务相当
✅ 3、 每次查询响应后自动清理临时文件,优化磁盘空间
✅ 4、优化向下截取行可输入,解决默认1000行有时不够用的问题

版本地址

https://gitee.com/dianjiu/gos-log/releases/V21.05.20

https://github.com/dianjiu/gos-log/releases/V21.05.20

仓库地址

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;
	}
}

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。

iGen

iGen

Jean M. Twenge PhD / Atria Books / 2017-8-22 / USD 27.00

A highly readable and entertaining first look at how today’s members of iGen—the children, teens, and young adults born in the mid-1990s and later—are vastly different from their Millennial predecesso......一起来看看 《iGen》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具