1. Home
  2. Know how
  3. Troubleshooting of Client

Troubleshooting of Client

Troubleshooting of a client:

Elasticsearch:

Follow the below procedure for troubleshooting of a client:

  • Check whether Elasticsearch is running or not.
  • ps -ef | grep Elasticsearch
To check Elasticsearch, go to the path
  • cd /elasticsearch/elasticsearch-6.4.2

From this path elasticsearch-6.4.2 run the below command

  • /usr/elk/elasticsearch/elasticsearch-6.4.2/bin/elasticsearch -d -p pid

This will start as service in background wait for few mins and execute below curl cmd to test the status.

  • curl -X GET “10.5.0.X:9200/”

If it is not running, then kill the existing process and run the elasticsearch again.

Logstash:

Follow the below procedure for troubleshooting of a client:

  • Check whether Logstash is running or not.
To check Logstash, go to the path
  • cd /logstash/logstash-6.4.2

From this path logstash-6.4.2 run the below command

  • ./bin/logstash -f filename.conf

This will start the Logstash and generate output to a required format configured in the filename.conf.

If it is not running, then kill the existing process and run the Logstash again.

KIbana:

Follow the below procedure for troubleshooting of a client:

  • Check whether Logstash is running or not.

To check Kibana, go to

  • cd /kibana/kibana-6.4.2-linux-x86_64/

From this path kibana-6.4.2-linux-x86_64/  run the below command

  • ./bin/kibana

This will runs as service on the console.

If it is not running, then kill the existing process and run the Kibana again.

  • If all the three Elasticsearch, Logstash and Kibana are running and still facing the issue for connecting to a client.

Then, check the log files in logstash.

 

 

 

Updated on July 25, 2019

Was this article helpful?

Related Articles

Leave a Comment