# ElasticSearch crashing - where are the log files?

**URL:** <https://discuss.elastic.co/t/elasticsearch-crashing-where-are-the-log-files/11009>\
**Category:** Elasticsearch\
**Created:** [March 5, 2013, 1:49am UTC](https://discuss.elastic.co/t/elasticsearch-crashing-where-are-the-log-files/11009 "2013-03-05T01:49:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![inZania](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/inzania/32/2305_2.png) [@inZania](https://discuss.elastic.co/u/inZania)\
**Post date:** [March 5, 2013, 1:49am UTC](https://discuss.elastic.co/t/elasticsearch-crashing-where-are-the-log-files/11009/1 "2013-03-05T01:49:35Z")

</div>

I'm running ElasticSearch on my EC2 servers. I'm having trouble understanding the logging / debugging of ElasticSearch.

Occasionally, the service disappears, after having been running fine for days (I expect that it's crashing). Eg:

# curl -XGET [http://localhost:9200/](http://localhost:9200/)

curl: (7) couldn't connect to host  
Per [this ElasticSearch page](http://www.elasticsearch.org/guide/reference/setup/configuration.html), I expected that my logs would be available in /var/log/elasticsearch... however...

# ls /var/data/elasticsearch

ls: /var/data/elasticsearch: No such file or directory  
I have not changed the /config/logging.yml file in any way. ElasticSearch is running as root, so there should be no problem with permissions.

What am I missing?

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [March 5, 2013, 4:15am UTC](https://discuss.elastic.co/t/elasticsearch-crashing-where-are-the-log-files/11009/2 "2013-03-05T04:15:46Z")

</div>

Answered on stackoverflow:  
[amazon ec2 - ElasticSearch disappearing / crashing -- cannot find log files or any other information - Stack Overflow](http://stackoverflow.com/questions/15213764/elasticsearch-disappearing-crashing-cannot-find-log-files-or-any-other-info)

On Monday, March 4, 2013 8:49:36 PM UTC-5, Zane Claes wrote:

> I'm running Elasticsearch on my EC2 servers. I'm having trouble  
> understanding  
> the logging / debugging of Elasticsearch.
> 
> Occasionally, the service disappears, after having been running fine for  
> days (I expect that it's crashing). Eg:
> 
> # curl -XGET [http://localhost:9200/](http://localhost:9200/)
> 
> curl: (7) couldn't connect to host  
> Per this Elasticsearch page  
> [http://www.elasticsearch.org/guide/reference/setup/configuration.html](http://www.elasticsearch.org/guide/reference/setup/configuration.html)  
> , I  
> expected that my logs would be available in /var/log/elasticsearch...  
> however...
> 
> # ls /var/data/elasticsearch
> 
> ls: /var/data/elasticsearch: No such file or directory  
> I have not changed the /config/logging.yml file in any way. Elasticsearch  
> is  
> running as root, so there should be no problem with permissions.
> 
> What am I missing?
> 
> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/ElasticSearch-crashing-where-are-the-log-files-tp4031005.html](http://elasticsearch-users.115913.n3.nabble.com/ElasticSearch-crashing-where-are-the-log-files-tp4031005.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:48am UTC](https://discuss.elastic.co/t/elasticsearch-crashing-where-are-the-log-files/11009/3 "2017-07-06T02:48:22Z")

</div>


