Skip to content

vladimir-golovchenko/clickhouse-filebeat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

clickhouse-filebeat

Configuration Filebeat for ClickHouse logs.

image

Setup steps

  1. Install Elastic Stack with Debian packages
# Oracle Java JRE or OpenJDK 8
sudo apt-get install openjdk-8-jre

# Install the Elastic repository and its GPG key
sudo apt-get install curl apt-transport-https
curl -s https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-6.x.list
sudo apt-get update

sudo apt-get install filebeat
  1. Edit configuration file
  • open config file '/etc/filebeat/filebeat.yml'
sudo nano /etc/filebeat/filebeat.yml
  • replace its content by filebeat.yml
  • set the valid IP to param output.logstash: hosts
  1. Run filebeat service
sudo service filebeat start

About

Configuration Filebeat for ClickHouse logs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published