阿里云日志服务 ilogtail 卸载方法

时间:2024-01-21 15:34:51
之前使用阿里云日志服务,按照文档安装了ilogtail。后面不需要了,却找不到卸载文档。
仔细查看
ilogtail的安装脚本后,发现里面有卸载方法。
wget http://logtail-release-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh -O logtail.sh;chmod 755 logtail.sh
./logtail.sh uninstall
正常卸载的反馈结果如下:
logtail.sh version: 1.3.0

Can not get os version from /etc/issue, try lsb_release
./logtail.sh: line 529: lsb_release: command not found
Can not get os version from lsb_release, try check specific files
OS Arch: x86_64
OS Distribution: CentOS
kill process Name: ilogtail pid: 3946
kill process Name: ilogtail pid: 3948
stop success
stop logtail success
chkconfig del ilogtaild success
uninstall logtail success