下载安装地址:https://www.elastic.co/cn/downloads/beats/filebeat 配置filebeatfilebeat配置分为2个部分,input和output:input:filebeat.inputs:
# Each - is an input. Most options c
安装go-elasticsearch,gormgo get -u github.com/jinzhu/gorm
go get github.com/elastic/go-elasticsearch/v7我的是v7版本,所以elasticsearch使用v7,如果是v8则改成v8go-elasticsearch和gorm操作
func
源码安装方法useradd es
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.2.2-linux-x86_64.tar.gz
chown es -R /es/
su es
tar -xzf elasticse
下载解压可以直接下载二进制包,也可以自己下载源码包编译,下载地址:https://prometheus.io/download/ wget https://github.com/prometheus/prometheus/releases/download/v2.36.0/prometheus-2.36.0.linux-amd64.tar.gz
tar -zvxf