Try to query the data from dev_tool
GET indexname/_search
and check the timestamp which is used by kibana index pattern
its value might be in incorrect format
okay I will check that once and will let you know....
But,
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
Please help me to solve this issue to the complete...
You can provide me a time slot when you will be available so that i can troubleshoot this continously without any time gaping.......
to check if Elasticsearch in available just type curl localhost:9200
and check if it gets any output
what is the RAM size of node where Elastic is running?
How did you set Heap size?
running logstash on the same machine is a common practice - not a problem
Sorry I am not support expert - you should contact someone from Elatic if you have the License.
I am just another user of Elasticsearch like you.
You are mixing up several problems
lets resolve them separately
Elasticsearch is up and running and can index new data
this problem you tested by curl commands I send you. Did you try curl POST - did it index new data to elasticsearch?
If yes - there is no problem with elasticsearch
btw you did not respond to HEAP size in /etc/elasticsearch/jvm.option file
-XmsXXg
-XmxYYg
however if elasticsearch is running and can index the data I do not see a problem here
problems with logstash
I see this might be a problem.
did you try to index simple piece of data to Elastic by Logstash
try to index static single event value
if this works the problem might be in logstash yaml parser code
provide your code here so the community can help you
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.