When installing the latest Heartbeat from the Elastic 7.0 repository and running heartbeat setup, dashboards do not load. When uninstalled, and pulled from the Elastic 6.0 repository dashboards do load.
[root@Email heartbeat]# heartbeat setup
Index setup complete.
Loading dashboards (Kibana must be running and reachable)
Skipping loading dashboards, No directory /usr/share/heartbeat/kibana/7
However, when running 6.X there is an error thrown but the dashboards load and the beat starts.
Installed:
heartbeat-elastic.x86_64 0:6.7.1-1
Complete!
[root@Email heartbeat]# nano /etc/heartbeat/heartbeat.yml
[root@Email heartbeat]# heartbeat setup
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Loaded index template
Loading dashboards (Kibana must be running and reachable)
Loaded dashboards
[root@Email heartbeat]# service heartbeat start
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Starting heartbeat-elastic (via systemctl): [ OK ]