Troubleshooting Guide Troubleshooting Technical Flows Troubleshooting Logs using ELK Stack Set Up ELK Set Up ELK This topic provides the links to setup ELK. Download the Elastic search from https://www.elastic.co/downloads/elasticsearchhttps://www.elastic.co/downloads/elasticsearch. Download the Kibana from https://www.elastic.co/downloads/kibanahttps://www.elastic.co/downloads/kibana. Download the Logstash from https://www.elastic.co/downloads/logstashhttps://www.elastic.co/downloads/logstash. Note:The default ports are as follows: Elastic search - 9200 Kibana - 5601 Step to run ELK: Run the elasticsearch.sh file present in the folder path /scratch/software/ELK/elasticsearch-6.5.1/bin. Edit network.host to localhost and port if necessary. This should be enough for it to run. Start: nohup bin/elasticsearch & Configure the Kibana to point the running instance of elastic search in the kibana.yml file. Figure 1-12 Logstash ConfigurationDescription of "Figure 1-12 Logstash Configuration" Follow the below steps to configure the Logstash. Input: This configuration is required to provide the log file location for the Logstash to read from. Filter: Filters in Logstash is basically used to control or format the read operation (Line by line or Bulk read). Output: This provides the running elastic search instance to send the data for persisting. Figure 1-13 KibanaDescription of "Figure 1-13 Kibana" Figure 1-14 KibanaDescription of "Figure 1-14 Kibana" Parent topic: Troubleshooting Logs using ELK Stack