我正在尝试在 SLES 上安装 logstash。以下是版本详情
SUSE Linux Enterprise Server 12 (x86_64)
VERSION = 12
PATCHLEVEL = 2
# This file is deprecated and will be removed in a future service pack or release.
# Please check /etc/os-release for details about this release.
NAME="SLES"
VERSION="12-SP2"
VERSION_ID="12.2"
PRETTY_NAME="SUSE Linux Enterprise Server 12 SP2"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:12:sp2"
google 上提供的大多数说明都适用于 ElasticSearch,但不适用于 logstash。我尝试了基于 rpm 的安装,如此处所述,https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html
但在这里他们也zypper install elasticsearch
安装了 elasticsearch,我正在尝试安装 logstash 6.1 或更高版本。在 SLES 上安装 logstash 的最佳方法是什么?在安装 elasticsearch 时,我收到如下错误:
elasticsearch-6.1.3-1.noarch (Elasticsearch repository for 6.x packages): Signature verification failed [4-Signatures public key is not available]
这是我的 elasticsearch.repo
[elasticsearch-6.x]
name=Elasticsearch repository for 6.x packages
baseurl=https://artifacts.elastic.co/packages/6.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md