Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthenticationMechanismConnectionString = "connection_string" AuthenticationMechanismOAuth = "oauth" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { FullyQualifiedNamespace string `alloy:"fully_qualified_namespace,attr"` EventHubs []string `alloy:"event_hubs,attr"` Authentication AzureEventHubsAuthentication `alloy:"authentication,block"` GroupID string `alloy:"group_id,attr,optional"` UseIncomingTimestamp bool `alloy:"use_incoming_timestamp,attr,optional"` DisallowCustomMessages bool `alloy:"disallow_custom_messages,attr,optional"` RelabelRules alloy_relabel.Rules `alloy:"relabel_rules,attr,optional"` Labels map[string]string `alloy:"labels,attr,optional"` Assignor string `alloy:"assignor,attr,optional"` ForwardTo []loki.LogsReceiver `alloy:"forward_to,attr"` }
Arguments holds values which are used to configure the loki.source.azure_event_hubs component.
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
type AzureEventHubsAuthentication ¶
type AzureEventHubsAuthentication struct { Mechanism string `alloy:"mechanism,attr"` Scopes []string `alloy:"scopes,attr,optional"` ConnectionString alloytypes.Secret `alloy:"connection_string,attr,optional"` }
AzureEventHubsAuthentication describe the configuration for authentication with Azure Event Hub
Click to show internal directories.
Click to hide internal directories.