Documentation ¶
Overview ¶
Package endpoint provides Graylog API endpoints.
Index ¶
- type Endpoints
- func (ep *Endpoints) AlarmCallbacks() string
- func (ep *Endpoints) Alert(id string) (*url.URL, error)
- func (ep *Endpoints) AlertConditions() string
- func (ep *Endpoints) Alerts() string
- func (ep *Endpoints) CollectorConfiguration(id string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationInput(id, inputID string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationInputs(id string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationName(id string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationOutput(id, outputID string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationOutputs(id string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationSnippet(id, snippetID string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationSnippets(id string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurations() string
- func (ep *Endpoints) ConnectPipelinesToStream() string
- func (ep *Endpoints) ConnectStreamsToPipeline() string
- func (ep *Endpoints) Dashboard(id string) (*url.URL, error)
- func (ep *Endpoints) DashboardWidget(dashboardID, widgetID string) (*url.URL, error)
- func (ep *Endpoints) DashboardWidgets(dashboardID string) (*url.URL, error)
- func (ep *Endpoints) Dashboards() string
- func (ep *Endpoints) EnabledStreams() string
- func (ep *Endpoints) Extractor(inputID, extractorID string) (*url.URL, error)
- func (ep *Endpoints) Extractors(inputID string) (*url.URL, error)
- func (ep *Endpoints) IndexSet(id string) (*url.URL, error)
- func (ep *Endpoints) IndexSetStats(id string) (*url.URL, error)
- func (ep *Endpoints) IndexSets() string
- func (ep *Endpoints) IndexSetsStats() string
- func (ep *Endpoints) Input(id string) (*url.URL, error)
- func (ep *Endpoints) Inputs() string
- func (ep *Endpoints) LDAPGroupRoleMapping() string
- func (ep *Endpoints) LDAPGroups() string
- func (ep *Endpoints) LDAPSetting() string
- func (ep *Endpoints) PauseStream(id string) (*url.URL, error)
- func (ep *Endpoints) Pipeline(id string) (*url.URL, error)
- func (ep *Endpoints) PipelineConnections() string
- func (ep *Endpoints) PipelineConnectionsOfStream(id string) (*url.URL, error)
- func (ep *Endpoints) PipelineRule(id string) (*url.URL, error)
- func (ep *Endpoints) PipelineRules() string
- func (ep *Endpoints) Pipelines() string
- func (ep *Endpoints) ResumeStream(id string) (*url.URL, error)
- func (ep *Endpoints) Role(name string) (*url.URL, error)
- func (ep *Endpoints) RoleMember(userName, roleName string) (*url.URL, error)
- func (ep *Endpoints) RoleMembers(name string) (*url.URL, error)
- func (ep *Endpoints) Roles() string
- func (ep *Endpoints) SetDefaultIndexSet(id string) (*url.URL, error)
- func (ep *Endpoints) Stream(id string) (*url.URL, error)
- func (ep *Endpoints) StreamAlarmCallback(streamID, id string) (*url.URL, error)
- func (ep *Endpoints) StreamAlarmCallbacks(streamID string) (*url.URL, error)
- func (ep *Endpoints) StreamAlertCondition(streamID, id string) (*url.URL, error)
- func (ep *Endpoints) StreamAlertConditions(streamID string) (*url.URL, error)
- func (ep *Endpoints) StreamRule(streamID, streamRuleID string) (*url.URL, error)
- func (ep *Endpoints) StreamRuleTypes(streamID string) (*url.URL, error)
- func (ep *Endpoints) StreamRules(streamID string) (*url.URL, error)
- func (ep *Endpoints) Streams() string
- func (ep *Endpoints) User(name string) (*url.URL, error)
- 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 ¶ added in v0.5.0
AlarmCallbacks returns AlarmCallbacks API's endpoint url.
func (*Endpoints) AlertConditions ¶ added in v0.2.0
AlertConditions returns an Alert Condition API's endpoint url.
func (*Endpoints) CollectorConfiguration ¶ added in v0.7.0
CollectorConfiguration returns a Collector Configuration API's endpoint url.
func (*Endpoints) CollectorConfigurationInput ¶ added in v0.7.0
CollectorConfigurationInput returns a Collector Configuration Input API's endpoint url.
func (*Endpoints) CollectorConfigurationInputs ¶ added in v0.7.0
CollectorConfigurationInputs returns a Collector Configuration Input API's endpoint url.
func (*Endpoints) CollectorConfigurationName ¶ added in v0.7.0
CollectorConfigurationName returns a Collector Configuration API's endpoint url.
func (*Endpoints) CollectorConfigurationOutput ¶ added in v0.7.0
CollectorConfigurationOutput returns a Collector Configuration Output API's endpoint url.
func (*Endpoints) CollectorConfigurationOutputs ¶ added in v0.7.0
CollectorConfigurationOutputs returns a Collector Configuration Output API's endpoint url.
func (*Endpoints) CollectorConfigurationSnippet ¶ added in v0.7.0
CollectorConfigurationSnippet returns a Collector Configuration Snippet API's endpoint url.
func (*Endpoints) CollectorConfigurationSnippets ¶ added in v0.7.0
CollectorConfigurationSnippets returns a Collector Configuration Snippet API's endpoint url.
func (*Endpoints) CollectorConfigurations ¶ added in v0.7.0
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 ¶ added in v0.8.0
DashboardWidget returns an Dashboard Widget API's endpoint url.
func (*Endpoints) DashboardWidgets ¶ added in v0.8.0
DashboardWidgets returns an Dashboard Widget API's endpoint url.
func (*Endpoints) Dashboards ¶ added in v0.4.0
Dashboards returns an Dashboard API's endpoint url.
func (*Endpoints) EnabledStreams ¶
EnabledStreams returns GetEnabledStreams API's endpoint url.
func (*Endpoints) Extractors ¶
Extractors returns Stream Rules 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) LDAPGroupRoleMapping ¶ added in v0.10.0
LDAPGroupRoleMapping returns the LDAP Group and role mapping API's endpoint url.
func (*Endpoints) LDAPGroups ¶ added in v0.10.0
LDAPGroups returns the LDAP Setting API's endpoint url.
func (*Endpoints) LDAPSetting ¶ added in v0.6.0
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 ¶ added in v1.4.0
PipelineRule returns a Pipeline Rule API's endpoint url.
func (*Endpoints) PipelineRules ¶ added in v1.4.0
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 ¶ added in v1.1.0
StreamAlarmCallback returns Stream Alarm Callback API's endpoint url.
func (*Endpoints) StreamAlarmCallbacks ¶ added in v1.1.0
StreamAlarmCallbacks returns Stream Alarm Callback API's endpoint url.
func (*Endpoints) StreamAlertCondition ¶ added in v1.0.0
StreamAlertCondition returns Stream Alert Condition API's endpoint url.
func (*Endpoints) StreamAlertConditions ¶ added in v1.0.0
StreamAlertConditions returns Stream Alert Condition 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.
Source Files ¶
- alarm_callback.go
- alert.go
- alert_condition.go
- collector_configuration.go
- dashboard.go
- dashboard_widget.go
- doc.go
- endpoint.go
- extractor.go
- index_set.go
- input.go
- ldap_setting.go
- pipeline.go
- pipeline_connection.go
- pipeline_rule.go
- role.go
- stream.go
- stream_alarm_callback.go
- stream_alert_condition.go
- stream_rule.go
- user.go