Documentation
¶
Index ¶
- type AllowlistCIDR
- type AppDetails
- type CollectorResponse
- type Collectors
- type CollectorsResponse
- type CreateAccessKeysRequest
- type CreateCollector
- type CreateCollectorRequest
- type CreateDashboard
- type CreateFolderRequest
- type CreateHTTPSource
- type CreateLookupTableRequest
- type CreateRoleRequest
- type CreateSourceResponse
- type CreateTokenRequest
- type CreateUserRequest
- type DashboardSyncDefinition
- type DataSourceValue
- type DisableUserMfa
- type EditLookupTable
- type Errors
- type ExportStatusResponse
- type FolderResponse
- type FolderSyncDefinition
- type GetAccessKeysResponse
- type GetAllowlistStatus
- type GetContentResponse
- type GetDashboard
- type GetPathResponse
- type GetPermissions
- type GetSourcesResponse
- type GetTokenResponse
- type GlobalFolderResponse
- type GlobalFolderResultResponse
- type GlobalFolderStatusRequest
- type GlobalFolderStatusResponse
- type HttpSource
- type InstallAppRequest
- type InstallAppResponse
- type InstallStatusResponse
- type ListAccessKeysResponse
- type ListApps
- type ListServiceAllowlist
- type ListSources
- type ListTokenResponse
- type LookupTableFields
- type LookupTableRemoveRowRequest
- type LookupTableRequestId
- type LookupTableResponse
- type LookupTableRow
- type LookupTableRowRequest
- type LookupTableStatusResponse
- type LookupTableSyncDefinition
- type MetricsSavedSearchSyncDefinition
- type MetricsSearchSyncDefinition
- type MewboardSyncDefinition
- type ModifyPermissionsRequest
- type MoveResponse
- type PermissionsDetail
- type ResponseError
- type ResponseType
- type Role
- type RoleData
- type SavedSearchWithScheduleSyncDefinition
- type SourcesResponse
- type StartExportResponse
- type SumoApiEndpoint
- type SumoAuth
- type Targets
- type UpdateAccessKeysRequest
- type UpdateFolderRequest
- type UpdateRoleRequest
- type UpdateTokenRequest
- type UpdateUserEmail
- type UpdateUserRequest
- type UpgradeTask
- type UpgradeTaskResponse
- type UpgradeTaskStatus
- type UserResponse
- type Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowlistCIDR ¶ added in v0.5.0
type AppDetails ¶ added in v0.5.0
type AppDetails struct { AppDefinition appDefinition `json:"appDefinition"` AppManifest appManifest `json:"appManifest"` }
type CollectorResponse ¶
type CollectorResponse struct {
Collector CollectorsResponse `json:"collector"`
}
type Collectors ¶
type Collectors struct {
Data []CollectorsResponse `json:"collectors"`
}
type CollectorsResponse ¶
type CollectorsResponse struct { Alive bool `json:"alive"` Category string `json:"category,omitempty"` CollectorType string `json:"collectorType"` CollectorVersion string `json:"collectorVersion"` CutoffRelativeTime string `json:"cutoffRelativeTime,omitempty"` CutoffTimestamp int `json:"cutoffTimestamp,omitempty"` Description string `json:"description,omitempty"` Ephemeral bool `json:"ephemeral"` Fields map[string]string `json:"fields,omitempty"` Links []collectorLinks `json:"links,omitempty"` HostName string `json:"hostName,omitempty"` Id int `json:"id"` LastSeenAlive int `json:"lastSeenAlive,omitempty"` Name string `json:"name"` SourceSyncMode string `json:"sourceSyncMode,omitempty"` TimeZone string `json:"timeZone,omitempty"` TargetCpu int `json:"targetCpu,omitempty"` OsName string `json:"osName,omitempty"` OsVersion string `json:"osVersion,omitempty"` OsArch string `json:"osArch,omitempty"` OsTime int `json:"osTime,omitempty"` }
type CreateAccessKeysRequest ¶ added in v0.5.0
type CreateCollector ¶
type CreateCollectorRequest ¶
type CreateCollectorRequest struct {
Collector CreateCollector `json:"collector"`
}
type CreateDashboard ¶ added in v0.5.0
type CreateDashboard struct { Title string `json:"title"` Description string `json:"description"` FolderId string `json:"folderId"` TopologyLabelMap topologyLabelMap `json:"topologyLabelMap"` Domain string `json:"domain"` RefreshInterval int `json:"refreshInterval"` TimeRange timeRangeDefinition `json:"timeRange"` Panels []panelsDefinition `json:"panels"` Layout layout `json:"layout"` Variables []variablesDefinition `json:"variables"` Theme string `json:"theme"` ColoringRules []coloringRulesDefinition `json:"coloringRules"` }
type CreateFolderRequest ¶ added in v0.5.0
type CreateHTTPSource ¶
type CreateHTTPSource struct { ApiVersion string `json:"api.version"` Source HttpSource `json:"source"` }
type CreateLookupTableRequest ¶ added in v0.5.0
type CreateLookupTableRequest struct { Description string `json:"description"` Fields []LookupTableFields `json:"fields"` PrimaryKeys []string `json:"primaryKeys"` Ttl int `json:"ttl"` SizeLimitAction string `json:"sizeLimitAction"` Name string `json:"name"` ParentFolderId string `json:"parentFolderId"` }
type CreateRoleRequest ¶
type CreateRoleRequest struct { Name string `json:"name"` Description string `json:"description,omitempty"` FilterPredicate string `json:"filterPredicate,omitempty"` Users []string `json:"users,omitempty"` Capabilities []string `json:"capabilities,omitempty"` AutoFillDependencies bool `json:"autoFillDependencies,omitempty"` }
type CreateSourceResponse ¶
type CreateSourceResponse struct {
Source SourcesResponse `json:"source"`
}
type CreateTokenRequest ¶ added in v0.5.0
type CreateUserRequest ¶
type DashboardSyncDefinition ¶ added in v0.4.0
type DashboardSyncDefinition struct { Type string `json:"type"` Name string `json:"name"` Description string `json:"description"` DetailLevel int `json:"detailLevel"` Properties string `json:"properties"` Panels []reportPanelSyncDefinition `json:"panels"` Filters []filtersSyncDefinition `json:"filters"` }
type DataSourceValue ¶ added in v0.5.0
type DataSourceValue struct {
LogSrc string `json:"logsrc"`
}
type DisableUserMfa ¶
type EditLookupTable ¶ added in v0.5.0
type ExportStatusResponse ¶ added in v0.4.0
type FolderResponse ¶ added in v0.5.0
type FolderResponse struct { CreatedAt string `json:"createdAt"` CreatedBy string `json:"createdBy"` ModifiedAt string `json:"modifiedAt"` ModifiedBy string `json:"modifiedBy"` Id string `json:"id"` Name string `json:"name"` ItemType string `json:"itemType"` ParentId string `json:"parentId"` Permissions []string `json:"permissions"` Description string `json:"description"` Children []folderChildren `json:"children"` }
type FolderSyncDefinition ¶ added in v0.4.0
type GetAccessKeysResponse ¶ added in v0.5.0
type GetAllowlistStatus ¶ added in v0.5.0
type GetContentResponse ¶ added in v0.4.0
type GetContentResponse struct { CreatedAt string `json:"createdAt"` CreatedBy string `json:"createdBy"` ModifiedAt string `json:"modifiedAt"` ModifiedBy string `json:"modifiedBy"` Id string `json:"id"` Name string `json:"name"` ItemType string `json:"itemType"` ParentId string `json:"parentId"` Permissions []string `json:"permissions"` }
type GetDashboard ¶ added in v0.5.0
type GetDashboard struct { Title string `json:"title"` Description string `json:"description"` FolderId string `json:"folderId"` TopologyLabelMap topologyLabelMap `json:"topologyLabelMap"` Domain string `json:"domain"` RefreshInterval int `json:"refreshInterval"` TimeRange timeRangeDefinition `json:"timeRange"` Panels []panelsDefinition `json:"panels"` Layout layout `json:"layout"` Variables []variablesDefinition `json:"variables"` Theme string `json:"theme"` ColoringRules []coloringRulesDefinition `json:"coloringRules"` Id string `json:"id"` }
type GetPathResponse ¶ added in v0.4.0
type GetPathResponse struct {
Path string `json:"path"`
}
type GetPermissions ¶ added in v0.5.0
type GetPermissions struct { ExplicitPermissions []PermissionsDetail `json:"explicitPermissions"` ImplicitPermissions []PermissionsDetail `json:"implicitPermissions"` }
type GetSourcesResponse ¶
type GetSourcesResponse struct { Id int `json:"id"` Name string `json:"name"` Category string `json:"category"` HostName string `json:"hostName"` AutomaticDateParsing bool `json:"automaticDateParsing"` MultilineProcessingEnabled bool `json:"multilineProcessingEnabled"` UseAutolineMatching bool `json:"useAutolineMatching"` ForceTimeZone bool `json:"forceTimeZone"` Filters []sourceFilters `json:"filters"` CutoffTimestamp int `json:"cutoffTimestamp"` Encoding string `json:"encoding"` PathExpression string `json:"pathExpression"` Blacklist []string `json:"blacklist"` SourceType string `json:"sourceType"` Alive bool `json:"alive"` }
type GetTokenResponse ¶ added in v0.5.0
type GetTokenResponse struct { Id string `json:"id"` Name string `json:"name"` Description string `json:"description"` Status string `json:"status"` Type string `json:"type"` Version int `json:"version"` CreatedAt string `json:"createdAt"` CreatedBy string `json:"createdBy"` ModifiedAt string `json:"modifiedAt"` ModifiedBy string `json:"modifiedBy"` EncodedTokenAndUrl string `json:"encodedTokenAndUrl"` }
type GlobalFolderResponse ¶ added in v0.5.0
type GlobalFolderResponse struct {
Id string `json:"id"`
}
type GlobalFolderResultResponse ¶ added in v0.5.0
type GlobalFolderResultResponse struct {
Data []folderChildren `json:"data"`
}
type GlobalFolderStatusRequest ¶ added in v0.5.0
type GlobalFolderStatusRequest struct {
JobId string `json:"jobId"`
}
type GlobalFolderStatusResponse ¶ added in v0.5.0
type HttpSource ¶
type InstallAppRequest ¶ added in v0.5.0
type InstallAppRequest struct { Name string `json:"name"` Description string `json:"description"` DestinationFolderId string `json:"destinationFolderId"` DataSourceValues DataSourceValue `json:"dataSourceValues"` }
type InstallAppResponse ¶ added in v0.5.0
type InstallAppResponse struct {
Id string `json:"id"`
}
type InstallStatusResponse ¶ added in v0.5.0
type ListAccessKeysResponse ¶ added in v0.5.0
type ListAccessKeysResponse struct {
Data []GetAccessKeysResponse `json:"data"`
}
type ListApps ¶ added in v0.5.0
type ListApps struct {
Apps []AppDetails `json:"apps"`
}
type ListServiceAllowlist ¶ added in v0.5.0
type ListServiceAllowlist struct {
Data []AllowlistCIDR `json:"data"`
}
type ListSources ¶
type ListSources struct {
Sources []GetSourcesResponse `json:"sources"`
}
type ListTokenResponse ¶ added in v0.5.0
type ListTokenResponse struct {
Data []GetTokenResponse `json:"data"`
}
type LookupTableFields ¶ added in v0.5.0
type LookupTableRemoveRowRequest ¶ added in v0.5.0
type LookupTableRemoveRowRequest struct {
PrimaryKey []LookupTableRow `json:"primaryKey"`
}
type LookupTableRequestId ¶ added in v0.5.0
type LookupTableRequestId struct {
Id string `json:"id"`
}
type LookupTableResponse ¶ added in v0.5.0
type LookupTableResponse struct { CreatedAt string `json:"createdAt"` CreatedBy string `json:"createdBy"` ModifiedAt string `json:"modifiedAt"` ModifiedBy string `json:"modifiedBy"` Description string `json:"description"` Fields []LookupTableFields `json:"fields"` PrimaryKeys []string `json:"primaryKeys"` Ttl int `json:"ttl"` SizeLimitAction string `json:"sizeLimitAction"` Name string `json:"name"` ParentFolderId string `json:"parentFolderId"` Id string `json:"id"` ContentPath string `json:"contentPath"` Size int `json:"size"` }
type LookupTableRow ¶ added in v0.5.0
type LookupTableRowRequest ¶ added in v0.5.0
type LookupTableRowRequest struct {
Row []LookupTableRow `json:"row"`
}
type LookupTableStatusResponse ¶ added in v0.5.0
type LookupTableStatusResponse struct { JobId string `json:"jobId"` Status string `json:"status"` StatusMessages []string `json:"statusMessages"` Errors []lookupTableStatusErrors `json:"errors"` Warnings []lookupTableStatusWarnings `json:"warnings"` LookupContentId string `json:"lookupContentId"` LookupName string `json:"lookupName"` LookupContentPath string `json:"lookupContentPath"` RequestType string `json:"requestType"` UserId string `json:"userId"` CreatedAt string `json:"createdAt"` ModifiedAt string `json:"modifiedAt"` }
type LookupTableSyncDefinition ¶ added in v0.4.0
type MetricsSavedSearchSyncDefinition ¶ added in v0.4.0
type MetricsSavedSearchSyncDefinition struct { Type string `json:"type"` Name string `json:"name"` Description string `json:"description"` TimeRange timeRangeDefinition `json:"timeRange"` LogQuery string `json:"logQuery"` MetricsQueries []metricsQueriesDefinition `json:"metricsQueries"` DesiredQuantizationInSecs int `json:"desiredQuantizationInSecs"` Properties string `json:"properties"` }
type MetricsSearchSyncDefinition ¶ added in v0.4.0
type MewboardSyncDefinition ¶ added in v0.4.0
type MewboardSyncDefinition struct { Type string `json:"type"` Name string `json:"name"` Description string `json:"description"` Title string `json:"title"` RootPanel rootPanelDefinition `json:"rootPanel"` Theme string `json:"theme"` TopologyLabelMap topologyLabelMap `json:"topologyLabelMap"` RefreshInterval int `json:"refreshInterval"` TimeRange timeRangeDefinition `json:"timeRange"` Layout layout `json:"layout"` Panels panelsDefinition `json:"panels"` Variables variablesDefinition `json:"variables"` ColoringRules coloringRulesDefinition `json:"coloringRules"` }
type ModifyPermissionsRequest ¶ added in v0.5.0
type ModifyPermissionsRequest struct { ContentPermissionAssignments []PermissionsDetail `json:"contentPermissionAssignments"` NotifyRecipients bool `json:"notifyRecipients"` NotificationMessage string `json:"notificationMessage"` }
type MoveResponse ¶ added in v0.4.0
type MoveResponse struct { Id string `json:"id"` Errors []moveErrors `json:"errors"` }
type PermissionsDetail ¶ added in v0.5.0
type ResponseError ¶
type ResponseType ¶ added in v0.4.0
type ResponseType struct {
Type string `json:"type"`
}
type RoleData ¶
type RoleData struct { Name string `json:"name"` Description string `json:"description"` FilterPredicate string `json:"filterPredicate"` Users []string `json:"users"` Capabilities []string `json:"capabilities"` AutofillDependencies bool `json:"autofillDependencies"` CreatedAt string `json:"createdAt"` CreatedBy string `json:"createdBy"` ModifiedAt string `json:"modifiedAt"` ModifiedBy string `json:"modifiedBy"` Id string `json:"id"` SystemDefined bool `json:"systemDefined"` }
type SavedSearchWithScheduleSyncDefinition ¶ added in v0.4.0
type SourcesResponse ¶
type SourcesResponse struct { Id int `json:"id"` Name string `json:"name"` HostName string `json:"hostName,omitempty"` AutomaticDateParsing bool `json:"automaticDateParsing"` MultilineProcessingEnabled bool `json:"multilineProcessingEnabled"` UseAutolineMatching bool `json:"useAutolineMatching"` ContentType string `json:"contentType"` ForceTimezone bool `json:"forceTimezome"` Filters []sourceFilters `json:"filters"` CutoffTimestamp int `json:"cutoffTimestamp"` Encoding string `json:"encoding"` Interval int `json:"interval"` Metrics []string `json:"metrics"` SourceType string `json:"sourceType"` Alive bool `json:"alive"` Url string `json:"url,omitempty"` Category string `json:"category,omitempty"` Fields map[string]string `json:"fields,omitempty"` MessagePerRequest bool `json:"messagePerRequest"` }
type StartExportResponse ¶ added in v0.4.0
type StartExportResponse struct {
Id string `json:"id"`
}
type SumoApiEndpoint ¶
type UpdateAccessKeysRequest ¶ added in v0.5.0
type UpdateFolderRequest ¶ added in v0.5.0
type UpdateRoleRequest ¶
type UpdateRoleRequest struct { Name string `json:"name"` Description string `json:"description"` FilterPredicate string `json:"filterPredicate"` Users []string `json:"users,omitempty"` Capabilities []string `json:"capabilities,omitempty"` AutoFillDependencies bool `json:"autoFillDependencies,omitempty"` }
type UpdateTokenRequest ¶ added in v0.5.0
type UpdateUserEmail ¶
type UpdateUserEmail struct {
Email string `json:"email"`
}
type UpdateUserRequest ¶
type UpgradeTask ¶ added in v0.3.0
type UpgradeTaskResponse ¶ added in v0.3.0
type UpgradeTaskResponse struct { Id string `json:"id"` Link upgradeTaskLink `json:"link"` }
type UpgradeTaskStatus ¶ added in v0.3.0
type UpgradeTaskStatus struct {
Upgrade upgradeTaskProgress `json:"upgrade"`
}
type UserResponse ¶
type UserResponse struct { Firstname string `json:"firstName"` Lastname string `json:"lastName"` Email string `json:"email"` RoleIds []string `json:"roleIds"` CreatedAt string `json:"createdAt"` CreatedBy string `json:"createdBy"` ModifiedAt string `json:"modifiedAt"` ModifiedBy string `json:"modifiedBy"` Id string `json:"id"` IsActive bool `json:"isActive"` IsLocked bool `json:"isLocked"` IsMfaEnabled bool `json:"isMfaEnabled"` LastLoginTimestamp string `json:"lastLoginTimestamp"` }
type Users ¶
type Users struct { Data []UserResponse `json:"data"` Next string `json:"next"` }
Click to show internal directories.
Click to hide internal directories.