After set up the filebeat 6.0.0 version, I do the procedure as:
and type the command
./filebeat setup --dashboards
but meet the following message:
Exiting: Error importing Kibana dashboards: fail to import the dashboards in Kibana: Error importing directory /usr/share/filebeat/bin/kibana: No directory /usr/share/filebeat/bin/kibana/default
Did you install Filebeat from the DEB or RPM? If yes, you should run the filebeat wrapper script from /usr/bin (i.e. your PATH). From the error above, it looks like you might be trying to run the /usr/share/filebeat/bin/filebeat binary directly? The wrapper script sets the paths required for Filebeat to find its dashboards and configuration.
Thank you for your reply. The problem still could not be fixed. But whatever, it is good now because filebeats already upgrade to 6.0.1, much easier to work on
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.