wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -

sudo apt-get install apt-transport-https

echo "deb https://artifacts.elastic.co/packages/8.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-8.x.list

sudo apt-get update && sudo apt-get install filebeat

sudo systemctl enable filebeat
sudo systemctl start filebeat
sudo systemctl status filebeat

sudo update-rc.d filebeat defaults 95 10

 

[참고]

https://www.elastic.co/guide/en/beats/filebeat/8.1/setup-repositories.html#_apt

 

Repositories for APT and YUM | Filebeat Reference [8.1] | Elastic

To add the Elastic repository, make sure that you use the echo method shown in the example. Do not use add-apt-repository because it will add a deb-src entry, but we do not provide a source package. If you have added the deb-src entry by mistake, you will

www.elastic.co

 

'Data Engineering > ELK' 카테고리의 다른 글

Filebeat / Logstash 설정  (0) 2022.03.14
kibana 설정  (0) 2022.03.14
[Centos] ELK 설치  (0) 2022.03.13
[Ubuntu] Elasticsearch 설치  (0) 2021.05.06

+ Recent posts