The documentation also mentions to upload from a zip file. But I cannot figure out the structure of the zip file?
./metricbeat setup -E setup.dashboards.file=metricbeat-dashboards-6.0.zip
A link to the example file would have been helpful
Basically, it looks for the path of the dashboads and loads every file it finds in setup.dashboards.directory if it is set or in the default path if not.
Do you know the format of the zip file?
Or is it just and json file that is stored in the zip file
When I try a zip with just one json file I get an error
metricbeat setup -E "setup.kibana.host=http://localhost:5601" -E "setup.dashboards.file=dashboards.zip"
Loaded index template
Loading dashboards (Kibana must be running and reachable)
Exiting: Error importing Kibana dashboards: fail to import the dashboards in Kibana: Error importing URL/file: Too many directories under /tmp/tmp295270073
Not really, but as a workaround you can try with the setup.dashboards.directoryinstead and just place the json files inside that folder (no need of zip)
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.