Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExportType ¶ added in v1.11.0
type ExportType string
const ( ExportTypeSearch ExportType = "search" ExportTypeVisualization ExportType = "visualization" ExportTypeDashboard ExportType = "dashboard" )
Enums for exportType
func (ExportType) String ¶ added in v1.11.0
func (s ExportType) String() string
type KibanaObjectExportRequest ¶ added in v1.11.0
type KibanaObjectExportRequest struct {
Type ExportType `json:"type"` // Required
}
type KibanaObjectExportResponse ¶ added in v1.11.0
type KibanaObjectExportResponse struct { KibanaVersion string `json:"kibanaVersion"` Hits []interface{} `json:"hits"` }
type KibanaObjectImportRequest ¶ added in v1.11.0
type KibanaObjectImportResponse ¶ added in v1.11.0
type KibanaObjectsClient ¶
func New ¶
func New(apiToken, baseUrl string) (*KibanaObjectsClient, error)
func (*KibanaObjectsClient) ExportKibanaObject ¶ added in v1.11.0
func (c *KibanaObjectsClient) ExportKibanaObject(exportRequest KibanaObjectExportRequest) (*KibanaObjectExportResponse, error)
ExportKibanaObject allows export of the Kibana objects configuration. https://docs.logz.io/api/#operation/exportSavedObjects
func (*KibanaObjectsClient) ImportKibanaObject ¶ added in v1.11.0
func (c *KibanaObjectsClient) ImportKibanaObject(importRequest KibanaObjectImportRequest) (*KibanaObjectImportResponse, error)
ImportKibanaObject allows import of the Kibana objects configuration. https://docs.logz.io/api/#operation/exportSavedObjects
Click to show internal directories.
Click to hide internal directories.