# Logfile problem

**URL:** <https://discuss.elastic.co/t/logfile-problem/123855>\
**Category:** Kibana\
**Created:** [March 14, 2018, 7:41am UTC](https://discuss.elastic.co/t/logfile-problem/123855 "2018-03-14T07:41:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frippen](https://avatars.discourse-cdn.com/v4/letter/f/f475e1/32.png) [@Frippen](https://discuss.elastic.co/u/Frippen)\
**Post date:** [March 14, 2018, 7:41am UTC](https://discuss.elastic.co/t/logfile-problem/123855/1 "2018-03-14T07:41:28Z")

</div>

Hi,

I have a problem with Kibana. When I try to set the location to the logfile Kibana krasches. I have tried to put the log in the same directory as Kibana, /var/log/ /home/ etc. Nothing works. But when I remove the line in my config everything works fine. What am I doing wrong here?

Ex:  
logging.dest: /var/log/kibana.log  
logging.dest: /usr/share/kibana/log/kibana.log  
logging.dest: /home/fredrik/log/kibana.log

Thanks in advance  
//Fredrik

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [March 14, 2018, 5:56pm UTC](https://discuss.elastic.co/t/logfile-problem/123855/2 "2018-03-14T17:56:55Z")

</div>

Hi Fredrik,

So, you are trying to change the default location of Kibana logs I assume?  
What does Kibana crashing here means? Do you see any errors in Kibana log?  
If there is a syntax problem with your changes in Kibana.yml - we should have logs for it.

Which version of Kibana are you on?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Frippen](https://avatars.discourse-cdn.com/v4/letter/f/f475e1/32.png) [@Frippen](https://discuss.elastic.co/u/Frippen)\
**Post date:** [March 15, 2018, 8:09am UTC](https://discuss.elastic.co/t/logfile-problem/123855/3 "2018-03-15T08:09:41Z")

</div>

I can't find the Kibana log, that's why I want to set the location. I can't find in the documentation where Kibana saves the log by default.

Regards,  
Fredrik

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [March 15, 2018, 3:10pm UTC](https://discuss.elastic.co/t/logfile-problem/123855/4 "2018-03-15T15:10:09Z")

</div>

Ok. So Kibana default logs are usually in /var/log/kibana.  
And if you are on latest centos: you might need to enable them using `journalctl -u kibana.service`

iIt will help if you could post your kibana.yml config lines where you are trying to configure your log files?

Thanks,  
Bhavya

---

<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:** [April 12, 2018, 3:10pm UTC](https://discuss.elastic.co/t/logfile-problem/123855/5 "2018-04-12T15:10:20Z")

</div>

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