The functionality of import_dashboards was moved to setup command of specific beats in 6.0. That is why you can't find it on master. However, you are looking at docs of 5.5.
So if you want to import dashboards of filebeat you should use filebeat setup.
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.