Documentation ¶
Overview ¶
Package endpoint provides Graylog API endpoints.
Index ¶
- type Endpoints
- func (ep *Endpoints) AlarmCallbacks() string
- func (ep *Endpoints) Alert(id string) string
- func (ep *Endpoints) AlertConditions() string
- func (ep *Endpoints) Alerts() string
- func (ep *Endpoints) AvailableOutputs() string
- func (ep *Endpoints) CollectorConfiguration(id string) string
- func (ep *Endpoints) CollectorConfigurationInput(id, inputID string) string
- func (ep *Endpoints) CollectorConfigurationInputs(id string) string
- func (ep *Endpoints) CollectorConfigurationName(id string) string
- func (ep *Endpoints) CollectorConfigurationOutput(id, outputID string) string
- func (ep *Endpoints) CollectorConfigurationOutputs(id string) string
- func (ep *Endpoints) CollectorConfigurationSnippet(id, snippetID string) string
- func (ep *Endpoints) CollectorConfigurationSnippets(id string) string
- func (ep *Endpoints) CollectorConfigurations() string
- func (ep *Endpoints) ConnectPipelinesToStream() string
- func (ep *Endpoints) ConnectStreamsToPipeline() string
- func (ep *Endpoints) Dashboard(id string) string
- func (ep *Endpoints) DashboardWidget(dashboardID, widgetID string) string
- func (ep *Endpoints) DashboardWidgetCacheTime(dashboardID, widgetID string) string
- func (ep *Endpoints) DashboardWidgetDescription(dashboardID, widgetID string) string
- func (ep *Endpoints) DashboardWidgets(dashboardID string) string
- func (ep *Endpoints) DashboardWidgetsPosition(dashboardID string) string
- func (ep *Endpoints) Dashboards() string
- func (ep *Endpoints) EnabledStreams() string
- func (ep *Endpoints) EventDefinition(id string) string
- func (ep *Endpoints) EventDefinitions() string
- func (ep *Endpoints) EventNotification(id string) string
- func (ep *Endpoints) EventNotifications() string
- func (ep *Endpoints) Extractor(inputID, extractorID string) string
- func (ep *Endpoints) Extractors(inputID string) string
- func (ep *Endpoints) GrokPattern(id string) string
- func (ep *Endpoints) GrokPatternTest() string
- func (ep *Endpoints) GrokPatterns() string
- func (ep *Endpoints) IndexSet(id string) string
- func (ep *Endpoints) IndexSetStats(id string) string
- func (ep *Endpoints) IndexSets() string
- func (ep *Endpoints) IndexSetsStats() string
- func (ep *Endpoints) Input(id string) string
- func (ep *Endpoints) InputStaticField(inputID, key string) string
- func (ep *Endpoints) InputStaticFields(inputID string) string
- func (ep *Endpoints) Inputs() string
- func (ep *Endpoints) LDAPGroupRoleMapping() string
- func (ep *Endpoints) LDAPGroups() string
- func (ep *Endpoints) LDAPSetting() string
- func (ep *Endpoints) Output(id string) string
- func (ep *Endpoints) Outputs() string
- func (ep *Endpoints) PauseStream(id string) string
- func (ep *Endpoints) Pipeline(id string) string
- func (ep *Endpoints) PipelineConnections() string
- func (ep *Endpoints) PipelineConnectionsOfStream(id string) string
- func (ep *Endpoints) PipelineRule(id string) string
- func (ep *Endpoints) PipelineRules() string
- func (ep *Endpoints) Pipelines() string
- func (ep *Endpoints) ResumeStream(id string) string
- func (ep *Endpoints) Role(name string) string
- func (ep *Endpoints) RoleMember(userName, roleName string) string
- func (ep *Endpoints) RoleMembers(name string) string
- func (ep *Endpoints) Roles() string
- func (ep *Endpoints) SetDefaultIndexSet(id string) string
- func (ep *Endpoints) Stream(id string) string
- func (ep *Endpoints) StreamAlarmCallback(streamID, id string) string
- func (ep *Endpoints) StreamAlarmCallbacks(streamID string) string
- func (ep *Endpoints) StreamAlertCondition(streamID, id string) string
- func (ep *Endpoints) StreamAlertConditions(streamID string) string
- func (ep *Endpoints) StreamOutput(streamID, outputID string) string
- func (ep *Endpoints) StreamOutputs(streamID string) string
- func (ep *Endpoints) StreamRule(streamID, streamRuleID string) string
- func (ep *Endpoints) StreamRuleTypes(streamID string) string
- func (ep *Endpoints) StreamRules(streamID string) string
- func (ep *Endpoints) Streams() string
- func (ep *Endpoints) User(name string) string
- func (ep *Endpoints) UserToken(userName, tokenName string) string
- func (ep *Endpoints) UserTokens(name string) string
- func (ep *Endpoints) Users() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoints ¶
type Endpoints struct {
// contains filtered or unexported fields
}
Endpoints represents each API's endpoint URLs.
func NewEndpoints ¶
NewEndpoints returns a new Endpoints.
func NewEndpointsV3 ¶
NewEndpointsV3 returns a new Endpoints for Graylog API v3.
func (*Endpoints) AlarmCallbacks ¶
AlarmCallbacks returns AlarmCallbacks API's endpoint url.
func (*Endpoints) AlertConditions ¶
AlertConditions returns an Alert Condition API's endpoint url.
func (*Endpoints) AvailableOutputs ¶
AvailableOutputs returns a Output API's endpoint url.
func (*Endpoints) CollectorConfiguration ¶
CollectorConfiguration returns a Collector Configuration API's endpoint url.
func (*Endpoints) CollectorConfigurationInput ¶
CollectorConfigurationInput returns a Collector Configuration Input API's endpoint url.
func (*Endpoints) CollectorConfigurationInputs ¶
CollectorConfigurationInputs returns a Collector Configuration Input API's endpoint url.
func (*Endpoints) CollectorConfigurationName ¶
CollectorConfigurationName returns a Collector Configuration API's endpoint url.
func (*Endpoints) CollectorConfigurationOutput ¶
CollectorConfigurationOutput returns a Collector Configuration Output API's endpoint url.
func (*Endpoints) CollectorConfigurationOutputs ¶
CollectorConfigurationOutputs returns a Collector Configuration Output API's endpoint url.
func (*Endpoints) CollectorConfigurationSnippet ¶
CollectorConfigurationSnippet returns a Collector Configuration Snippet API's endpoint url.
func (*Endpoints) CollectorConfigurationSnippets ¶
CollectorConfigurationSnippets returns a Collector Configuration Snippet API's endpoint url.
func (*Endpoints) CollectorConfigurations ¶
CollectorConfigurations returns a Collector Configuration API's endpoint url.
func (*Endpoints) ConnectPipelinesToStream ¶
ConnectPipelinesToStream returns a connect processing pipelines to a stream API's endpoint url.
func (*Endpoints) ConnectStreamsToPipeline ¶
ConnectStreamsToPipeline returns a connect streams to a pipeline API's endpoint url.
func (*Endpoints) DashboardWidget ¶
DashboardWidget returns a Dashboard Widget API's endpoint url.
func (*Endpoints) DashboardWidgetCacheTime ¶
DashboardWidgetCacheTime returns a Dashboard Widget cache time API's endpoint url.
func (*Endpoints) DashboardWidgetDescription ¶
DashboardWidgetDescription returns a Dashboard Widget description API's endpoint url.
func (*Endpoints) DashboardWidgets ¶
DashboardWidgets returns a Dashboard Widget API's endpoint url.
func (*Endpoints) DashboardWidgetsPosition ¶
DashboardWidgetsPosition returns a Dashboard widgets position API's endpoint url.
func (*Endpoints) Dashboards ¶
Dashboards returns a Dashboard API's endpoint url.
func (*Endpoints) EnabledStreams ¶
EnabledStreams returns GetEnabledStreams API's endpoint url.
func (*Endpoints) EventDefinition ¶
EventDefinition returns a EventDefinition API's endpoint url.
func (*Endpoints) EventDefinitions ¶
EventDefinitions returns a EventDefinition API's endpoint url.
func (*Endpoints) EventNotification ¶
EventNotification returns a EventNotification API's endpoint url.
func (*Endpoints) EventNotifications ¶
EventNotifications returns a EventNotification API's endpoint url.
func (*Endpoints) Extractors ¶
Extractors returns Stream Rules API's endpoint url.
func (*Endpoints) GrokPattern ¶
GrokPattern returns a GrokPattern API's endpoint url.
func (*Endpoints) GrokPatternTest ¶
GrokPatternMembers returns /system/grok/test endpoint url.
func (*Endpoints) GrokPatterns ¶
GrokPatterns returns a GrokPattern API's endpoint url.
func (*Endpoints) IndexSetStats ¶
IndexSetStats returns an IndexSet stats API's endpoint url.
func (*Endpoints) IndexSetsStats ¶
IndexSetsStats returns all IndexSets stats API's endpoint url.
func (*Endpoints) InputStaticField ¶
InputStaticField returns the StaticFields API's endpoint url.
func (*Endpoints) InputStaticFields ¶
InputStaticFields returns the StaticFields API's endpoint url.
func (*Endpoints) LDAPGroupRoleMapping ¶
LDAPGroupRoleMapping returns the LDAP Group and role mapping API's endpoint url.
func (*Endpoints) LDAPGroups ¶
LDAPGroups returns the LDAP Setting API's endpoint url.
func (*Endpoints) LDAPSetting ¶
LDAPSetting returns the LDAP Setting API's endpoint url.
func (*Endpoints) PauseStream ¶
PauseStream returns PauseStream API's endpoint url.
func (*Endpoints) PipelineConnections ¶
PipelineConnections returns a Pipeline Connections API's endpoint url.
func (*Endpoints) PipelineConnectionsOfStream ¶
PipelineConnectionsOfStream returns a Pipeline Connections for a given stream API's endpoint url.
func (*Endpoints) PipelineRule ¶
PipelineRule returns a Pipeline Rule API's endpoint url.
func (*Endpoints) PipelineRules ¶
PipelineRules returns a Pipeline Rules API's endpoint url.
func (*Endpoints) ResumeStream ¶
ResumeStream returns ResumeStream API's endpoint url.
func (*Endpoints) RoleMember ¶
RoleMember returns given role member endpoint url.
func (*Endpoints) RoleMembers ¶
RoleMembers returns given role's member endpoint url.
func (*Endpoints) SetDefaultIndexSet ¶
SetDefaultIndexSet returns SetDefaultIndexSet API's endpoint url.
func (*Endpoints) StreamAlarmCallback ¶
StreamAlarmCallback returns Stream Alarm Callback API's endpoint url.
func (*Endpoints) StreamAlarmCallbacks ¶
StreamAlarmCallbacks returns Stream Alarm Callback API's endpoint url.
func (*Endpoints) StreamAlertCondition ¶
StreamAlertCondition returns Stream Alert Condition API's endpoint url.
func (*Endpoints) StreamAlertConditions ¶
StreamAlertConditions returns Stream Alert Condition API's endpoint url.
func (*Endpoints) StreamOutput ¶
Output returns a Output API's endpoint url.
func (*Endpoints) StreamOutputs ¶
Outputs returns a Output API's endpoint url.
func (*Endpoints) StreamRule ¶
StreamRule returns a Stream Rule API's endpoint url.
func (*Endpoints) StreamRuleTypes ¶
StreamRuleTypes returns Stream Rule Types API's endpoint url.
func (*Endpoints) StreamRules ¶
StreamRules returns Stream Rules API's endpoint url.
func (*Endpoints) UserTokens ¶ added in v11.1.0
UserTokens returns a User token API's endpoint url.
Source Files ¶
- alarm_callback.go
- alert.go
- alert_condition.go
- collector_configuration.go
- dashboard.go
- dashboard_widget.go
- doc.go
- endpoint.go
- event_definition.go
- event_notification.go
- extractor.go
- grok_pattern.go
- index_set.go
- input.go
- input_static_fields.go
- ldap_setting.go
- output.go
- pipeline.go
- pipeline_connection.go
- pipeline_rule.go
- role.go
- stream.go
- stream_alarm_callback.go
- stream_alert_condition.go
- stream_output.go
- stream_rule.go
- user.go