Issue
I have Kibana 6.7.1 installed on my debian server. I am unable to see logs.
What I did:
In the /etc/kibana directory I have configured kibana.yml ** with **logging.dest: stdout
Created the file /var/log/kibana.log
Changed permission of files with chown kibana:kibana kibana.log and chmod u+w kibana.log.
Restarted the service with sudo service kibana restart
Still, I cannot see any content with the kibana.log file.
Any suggestions ?
After following fix suggestions I get error while starting kibana:
Dec 10 09:17:45 mynode systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
Dec 10 09:17:45 mynode systemd[1]: kibana.service: Unit entered failed state.
Dec 10 09:17:45 mynode systemd[1]: kibana.service: Failed with result 'exit-code'.
Dec 10 09:17:45 mynode systemd[1]: kibana.service: Service hold-off time over, scheduling restart.
Dec 10 09:17:45 mynode systemd[1]: Stopped Kibana.
Dec 10 09:17:45 mynode systemd[1]: kibana.service: Start request repeated too quickly.
Dec 10 09:17:45 mynode systemd[1]: Failed to start Kibana.
Dec 10 09:17:45 mynode systemd[1]: kibana.service: Unit entered failed state.
Dec 10 09:17:45 mynode systemd[1]: kibana.service: Failed with result 'exit-code'.
Solution
Fixed by a combination of:
- setting logging.dest in /etc/kibana/kibana.yml.
- setting correct user permission to kibana.log (chown and chmod)
- freeing up space in /var/log (space was full! found in journal)
Answered By - Luigi Sambolino Answer Checked By - Terry (WPSolving Volunteer)