Difference between revisions of "Filebeat"

From DarkWiki
Jump to: navigation, search
(Installation on Ubuntu)
(Installation on Ubuntu)
Line 5: Line 5:
 
<source lang="bash">
 
<source lang="bash">
 
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
 
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
 
 
sudo apt-get install apt-transport-https
 
sudo apt-get install apt-transport-https
 
 
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
 
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
 
 
sudo apt-get update && sudo apt-get install filebeat
 
sudo apt-get update && sudo apt-get install filebeat
 
 
sudo update-rc.d filebeat defaults 95 10
 
sudo update-rc.d filebeat defaults 95 10
 
 
</source>
 
</source>

Revision as of 10:21, 9 September 2019

Installation on Ubuntu

From repositories (see https://www.elastic.co/guide/en/beats/filebeat/current/setup-repositories.html)

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/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
sudo apt-get update && sudo apt-get install filebeat
sudo update-rc.d filebeat defaults 95 10