Can't set file as target for log repository

I use field logging.dest in kibana.yml
When I set
logging.dest: stdout
web UI is work
If i try to set
logging.dest: /home/ivan/Documents/kibana.log
Directory is exist, end user have access.
I see fail:

kibana.service: Main process exited, code=exited, status=1/FAILURE
kibana.service: Unit entered failed state.
kibana.service: Failed with result 'exit-code'.
kibana.service: Service hold-off time over, scheduling restart.
Stopped Kibana.
kibana.service: Start request repeated too quickly.
Failed to start Kibana.

Version: 5.5.1

Hi Ivan,
The kibana service runs as the kibana user. Does that user have the correct permissions to write to /home/ivan/Documents/ directory?

FYI, The normal location where those logs would go is /var/log/kibana/


1 Like

Hi Lee
I set permissions for "kibana" user as owner to "kibana" folder in path /var/log/kibana/ and it is work.
Thanks Lee!

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