Run the following command to install Filebeat on the same server as Elasticsearch: sudo apt-get install filebeat Filebeat is used to collect and send report files. Run the following commands to start and enable Logstash: sudo systemctl start logstash sudo systemctl enable logstash How to Install Filebeat on Debian 11ĮLK uses beats to send data from various sources and submit it to Logstash or Elasticsearch. To configure Logstash, first create a file called nf, where you can configure your Filebeat input: sudo vim /etc/logstash/conf.d/nf You can install Logstash with the following command: sudo apt-get install logstash You can access the Kibana dashboard from the browser using the IP server or hostname and Kibana port: Recommended Article: Tutorial Install and Use Ntopng on Debian 11 How to Install Logstash on Debian 11 Run the following command to configure the firewall, so the Kibana port will be accessible for Kibana from the internet: sudo ufw allow 5601/tcp Then confirm Kibana status with the following command: systemctl status kibana Run the following command to enable and start Kibana: sudo systemctl enable -now kibana Use the following command to configure Kibana: sudo vim /etc/kibana/kibana.ymlĪpply the following settings to configure the Kibana connection to Elasticsearch: Install the Kibana with the following command: sudo apt install kibana Then confirm status using the command below: systemctl status elasticsearch How to Install Kibana on Debian 11 Now save the file and run the following command to start and enable Elasticsearch: sudo systemctl enable -now elasticsearch Now run the following command to configure Elasticsearch to define the IP address and port you want to listen on and set the discovery type and cluster name: sudo vim /etc/elasticsearch/elasticsearch.ymlĪdjust JVM heap size on the memory in your system using the following command: sudo vim /etc/elasticsearch/jvm.options To install Elasticsearch, first run the following command: sudo apt install elasticsearch How to Install Elasticsearch on Debian 11 Then update the cache of package list using the following command: sudo apt updateĪfter successfully adding the ELK repository, you can install the various components of the Elastic stack. You can install ELK APT repository on Debian 11 with the following command: sudo apt install apt-transport-https echo "deb stable main" | sudo tee /etc/apt//elastic-7.x.list Then use the following command to install Elastic stack PGP signing key: wget -qO - | sudo apt-key add. You can check on the version to confirm the Java installation: java -version Run the following command to install OpenJDK 11: sudo apt install openjdk-11-jdk -y You need to install Java 8 or 11 before installing ELK. Installing Elastic Stack 7 on Debian 11įirst update your system packages using the following commands: sudo apt-get update sudo apt-get upgrade sudo reboot In the continuation of this article from the Debian tutorials series, we will explain to you step by step how to Install Elastic Stack 7 on Debian 11 with its components. Recommended Article: How To Setup And Use Nikto On Debian 10 ELK Componentsġ–> Elasticsearch is a search and analysis engine.Ģ–> Logstash is a server-side data processing pipeline that receives, converts and then sends data from multiple resources at the same time.ģ–> Kibana allows users to visualize data with charts and graphs in Elasticsearch.Ĥ–> Beats collect reports from servers and send to Logstash or Elasticsearch.
0 Comments
Leave a Reply. |