按照此地址使用yum命令安装logstash,https://www.elastic.co/guide/en/logstash/8.1/installing-logstash.html#_yum
sudo yum install logstash
出现错误:
CentOS Linux 8 - AppStream 88 B/s | 38 B 00:00 错误:为 repo 'appstream' 下载元数据失败 : Cannot prepare internal mirrorlist: No URLs in mirrorlist [root@localhost ~]# sudo yum install logstash CentOS Linux 8 - AppStream 91 B/s | 38 B 00:00 错误:为 repo 'appstream' 下载元数据失败 : Cannot prepare internal mirrorlist: No URLs in mirrorlist
解决办法参照:
https://www.cnblogs.com/bpzblog/p/13918199.html
https://blog.csdn.net/lisongyue123/article/details/110822915