Logfile problem

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

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

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

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

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