# Unable to see elasticsearch.log file

**URL:** <https://discuss.elastic.co/t/unable-to-see-elasticsearch-log-file/255632>\
**Category:** Elasticsearch\
**Created:** [November 17, 2020, 7:51am UTC](https://discuss.elastic.co/t/unable-to-see-elasticsearch-log-file/255632 "2020-11-17T07:51:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![praveencdcx](https://avatars.discourse-cdn.com/v4/letter/p/e36b37/32.png) [@praveencdcx](https://discuss.elastic.co/u/praveencdcx)\
**Post date:** [November 17, 2020, 7:51am UTC](https://discuss.elastic.co/t/unable-to-see-elasticsearch-log-file/255632/1 "2020-11-17T07:51:50Z")

</div>

# After elasticsearch configuration i have restarted the service and service is up, but when i tried to see elasticsearch log i found below. wondering how log file is missing. Can some one help me on this.

sudo tail -30f /var/log/elasticsearch/elasticsearch.log  
tail: cannot open '/var/log/elasticsearch/elasticsearch.log' for reading: No such file or directory  
tail: no files remaining

sudo systemctl status elasticsearch  
● elasticsearch.service - Elasticsearch  
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: disabled)  
Active: active (running) since Fri 2020-11-13 15:03:27 CET; 3 days ago  
Docs: [https://www.elastic.co](https://www.elastic.co)  
Main PID: 588889 (java)  
Tasks: 51 (limit: 49608)  
Memory: 1.2G  
CGroup: /system.slice/elasticsearch.service  
├─588889 /usr/share/elasticsearch/jdk/bin/java -Xshare:auto -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -\>  
└─589080 /usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86\_64/bin/controller

# Nov 13 15:02:48 el9673.int.corp systemd[1]: Starting Elasticsearch... Nov 13 15:03:27 el9673.int.corp systemd[1]: Started Elasticsearch.

---

<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:** [December 15, 2020, 7:51am UTC](https://discuss.elastic.co/t/unable-to-see-elasticsearch-log-file/255632/2 "2020-12-15T07:51:52Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
