send data to SLS fail, error_code:RequestError error_message:address is null. endpoint:http://log-global.aliyuncs.com
解决办法:
修改 /usr/local/ilogtail/user_log_config.json
"defaultEndpoint" : 默认是私网,改成公网域名
然后重启服务即可。
sudo /etc/init.d/ilogtaild stop
sudo /etc/init.d/ilogtaild start