# Functions
DecodeExported decodes an exported dashboard.
Export wraps GetDashboard call to provide a more descriptive API.
ExportAll exports all dashboards from an opened and parsed dashboards YML.
ExportAllFromYml exports all dashboards found in the YML file.
ImportDashboards tries to import the kibana dashboards.
ImportDashboardsViaKibana imports Dashboards to Kibana.
NewImporter creates a new dashboard importer.
NewKibanaLoader creates a new loader to load Kibana files.
ReplaceIndexInDashboardObject replaces references to the index pattern in dashboard objects.
ReplaceIndexInIndexPattern replaces an index in a dashboard content body.
ReplaceIndexInVisState replaces index appearing in visState params objects.
ReplaceStringInDashboard replaces a string field in a dashboard.
SaveToFile creates the required directories if needed and saves dashboard.
SaveToFile creates the required directories if needed and saves dashboard.
# Constants
OutputPermission is the permission of dashboard output files.
# Structs
ErrNotFound returned when we cannot find any dashboard to import.
JSONObjectAttribute contains the attributes for a Kibana json object.
ListYML is the yaml file which contains list of available dashboards.
YMLElement contains the data of a dashboard: * its uuid in Kibana * filename to be saved as.
# Type aliases
MessageOutputter is a function type for injecting status logging into this module.