Hi, just got filebeat installed with modules and pregenerated dashboards via make fields
and make kibana
. When trying to run for the first time with setup.dashboards.enabled: true
, all dashboards error out with the following message:
Exiting: Error importing Kibana dashboards: fail to import the dashboards in Kibana: Error importing directory /usr/share/filebeat/kibana: Failed to import dashboard: Failed to load directory /usr/share/filebeat/kibana/6/dashboard:
error loading /usr/share/filebeat/kibana/6/dashboard/Filebeat-Kafka-overview.json: failed to parse field [visualization.kibanaSavedObjectMeta.searchSourceJSON] of type [text]. Response: {"objects":[{"id":"Number of Kafka stracktraces by class","type":"visualization","error":{"message":"failed to parse field [visualization.kibanaSavedObjectMeta.searchSourceJSON] of type [text]"}},{"id":"Kafka stacktraces","type":"search","error":{"me... (truncated)
error loading /usr/share/filebeat/kibana/6/dashboard/Filebeat-Mongodb-overview.json: failed to parse field [visualization.kibanaSavedObjectMeta.searchSourceJSON] of type [text]. Response: {"objects":[{"id":"0fef5710-0a82-11e8-bffe-ff7d4f68cf94","type":"visualization","error":{"message":"failed to parse field [visualization.kibanaSavedObjectMeta.searchSourceJSON] of type [text]"}},{"id":"e49fe000-0a7e-11e8-bffe-ff7d4f68cf94","type":"se... (truncated)
error loading /usr/share/filebeat/kibana/6/dashboard/Filebeat-Postgresql-overview.json: failed to parse field [visualization.kibanaSavedObjectMeta.searchSourceJSON] of type [text]. Response: {"objects":[{"id":"PostgreSQL Log Level Count","type":"visualization","error":{"message":"failed to parse field [visualization.kibanaSavedObjectMeta.searchSourceJSON] of type [text]"}},{"id":"PostgreSQL All Logs","type":"search","error":{"message":"f... (truncated)
and so forth for every json file in the dashboard directory. Note that the (truncated)
is done by filebeat, not me. As best I can tell, the dashboards are perfectly valid json, but I have uploaded a sample here: https://gist.github.com/matoro/cfc01d6e8f8fc8024ea7769be6384c08
Is there any way to at least see the full contents of the error message? What can I do to help debug this problem? Thank you.