Documentation
¶
Index ¶
- type CollectorResponse
- type Collectors
- type CollectorsResponse
- type CreateCollector
- type CreateCollectorRequest
- type CreateHTTPSource
- type CreateRoleRequest
- type CreateSourceResponse
- type CreateUserRequest
- type DashboardSyncDefinition
- type DisableUserMfa
- type Errors
- type ExportStatusResponse
- type FolderSyncDefinition
- type GetContentResponse
- type GetLookupTableResponse
- type GetPathResponse
- type GetSourcesResponse
- type HttpSource
- type ListSources
- type LookupTableSyncDefinition
- type MetricsSavedSearchSyncDefinition
- type MetricsSearchSyncDefinition
- type MewboardSyncDefinition
- type MoveResponse
- type ResponseError
- type ResponseType
- type Role
- type RoleData
- type SavedSearchWithScheduleSyncDefinition
- type SourcesResponse
- type StartExportResponse
- type SumoApiEndpoint
- type SumoAuth
- type Targets
- type UpdateRoleRequest
- 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 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 CreateCollector ¶
type CreateCollectorRequest ¶
type CreateCollectorRequest struct {
Collector CreateCollector `json:"collector"`
}
type CreateHTTPSource ¶
type CreateHTTPSource struct { ApiVersion string `json:"api.version"` Source HttpSource `json:"source"` }
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 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 DisableUserMfa ¶
type ExportStatusResponse ¶ added in v0.4.0
type FolderSyncDefinition ¶ added in v0.4.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 GetLookupTableResponse ¶ added in v0.4.0
type GetPathResponse ¶ added in v0.4.0
type GetPathResponse struct {
Path string `json:"path"`
}
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 HttpSource ¶
type ListSources ¶
type ListSources struct {
Sources []GetSourcesResponse `json:"sources"`
}
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 MoveResponse ¶ added in v0.4.0
type MoveResponse struct { Id string `json:"id"` Errors []moveErrors `json:"errors"` }
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 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 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.