Tail -f /var/log/kibana

root@elk-1:~#
root@elk-1:~#
root@elk-1:~# tail -f /var/log/kibana
tail: error reading '/var/log/kibana': Is a directory
tail: /var/log/kibana: cannot follow end of this type of file; giving up on this name
tail: no files remaining
root@elk-1:~# journalctl -fu kibana.service
-- Logs begin at Thu 2021-04-29 16:44:12 UTC. --
May 11 17:47:54 elk-1 systemd[1]: Stopped Kibana.
May 11 17:47:54 elk-1 systemd[1]: Started Kibana.
May 11 20:14:13 elk-1 systemd[1]: Stopping Kibana...
May 11 20:14:13 elk-1 systemd[1]: kibana.service: Succeeded.
May 11 20:14:13 elk-1 systemd[1]: Stopped Kibana.
May 11 20:14:33 elk-1 systemd[1]: Started Kibana.
May 12 16:23:20 elk-1 systemd[1]: Stopping Kibana...
May 12 16:23:20 elk-1 systemd[1]: kibana.service: Succeeded.
May 12 16:23:20 elk-1 systemd[1]: Stopped Kibana.
May 12 16:23:20 elk-1 systemd[1]: Started Kibana.

tail: error reading '/var/log/kibana': Is a directory

how do i resolve this issue

log is located in /var/log/kibana/kibana.log not /var/log/kibana by default

1 Like

great it worked. Thanks.

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