I am not able to view data in kibana and grafana as well .
And also i am getting {:message=>"Elasticsearch Unreachable: error in logstash log
I am not able to view data in kibana and grafana as well .
And also i am getting {:message=>"Elasticsearch Unreachable: error in logstash log
Can you share your Elasticsearch output configuration, and can you check if Elasticsearch is up and running properly?
{
"name" : "ip-10-1-2-ZxZZ.ec2.internal",
"cluster_name" : "Name of the cluster",
"cluster_uuid" : "XXXXXXXXXXXXXXXXZOO2Bg",
"version" : {
"number" : "7.1.0",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "606a173",
"build_date" : "2019-05-16T00:43:15.323135Z",
"build_snapshot" : false,
"lucene_version" : "8.0.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
here i have shared this and i think it is running...
Elasticsearch{
hosts => ["http://XXXXXXXXXX197803029XXXXXXXXXXXXaws.com:9200"]
index => "Index_ name-%{+YYYY.MM}"
}
Elasticsearch{
hosts => ["http://ipaddressaws.com:9200"]
index => "IndexName--%{+YYYY.MM.dd}"
}
}
I will also upload all logstash error if this help you to identify the problem.
Actually i am only able to see data on kibana till november month and after that no data is avilable in kibana
Could you use a recent version of the stack? 7.1 is so old!
but for now i have to implement in this version only
Why is that?
working in group and they are saying first we will impliment this task in this machine only the we will look to update version....
Did you check that Elasticsearch is available from the machine where Logstash is running?
Yes.. Elasticsearch is their on the same machine...
And also when I am running Logstash Logs I am getting ...
[2021-12-24T06:25:16,758][ERROR][org.logstash.Logstash ] java.lang.OutOfMemoryError: Java heap space
[2021-12-24T05:12:31,352][ERROR][logstash.outputs.Elasticsearch] Attempted to send a bulk request to Elasticsearch' but Elasticsearch appears to be unreachable or down! {:error_message=>"Elasticsearch Unreachable: [http://XXXXXXXXXXxXXXX.XX-XXXXXXXXX.amazonaws.com:9200/][Manticore::ClientProtocolException] XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.ZZZZZZZZZZZ.amazonaws.com:9200 failed to respond", :class=>"LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError", :will_retry_in_seconds=>2}
[2021-12-24T03:54:42,052][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2021-12-24T03:35:26,776][ERROR][logstash.licensechecker.licensereader] Unable to retrieve license information from license server {:message=>"Elasticsearch Unreachable: [http://XXXXXXXX.XXXXXX.XXXXXXXXnaws.com:9200/][Manticore::ClientProtocolException] XXXXXXXXXXXXXXXXXXXXX.XXXXXXX.XXXX failed to respond"}
[2021-12-24T02:26:59,139][ERROR][logstash.outputs.Elasticsearch] Encountered a retryable error. Will Retry with exponential backoff {:code=>500,
[ERROR][org.logstash.execution.WorkerLoop] Exception in pipelineworker, the pipeline stopped processing new events, please check your filter configuration and restart Logstash.
java.lang.NullPointerException: null
Any idea?
Hello dadoonet...
Any suggestion that can help me solve this problem ?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.