centos安装以及配置Logtail
原文地址:https://blog.youkuaiyun.com/weixin_44259356/article/details/99849295
公司觉得logtail也有使用空间,这里主要记录安装以及配置过程。问题解决见另一篇:Logtail采集数据为空解决方案
不了解什么是logtail见:主流日志管理解决方案对比
1安装Logtail
官网:https://help.aliyun.com/document_detail/28982.html?spm=a2c4g.11186623.6.600.1b61502cKBUZZy
自己的服务器选择公网和相应地区,阿里的服务器选择阿里和相应地区
2启动Logtail
执行:
/etc/init.d/ilogtaild start
出现ilogtail is running则安装成功
3配置Logtail采集数据
进入阿里云控制台https://sls.console.aliyun.com/lognext/profile
创建Project