Versions in this module Expand all Collapse all v3 v3.0.1 Mar 21, 2022 v3.0.0 Mar 21, 2022 Changes in this version + const KafkaAuthenticationTypeNone + const KafkaAuthenticationTypeSASL + const KafkaAuthenticationTypeSSL + var DefaultScrapeConfig = Config + type CloudflareConfig struct + APIToken string + FieldsType string + Labels model.LabelSet + PullRange model.Duration + Workers int + ZoneID string + type Config struct + CloudflareConfig *CloudflareConfig + DockerSDConfigs []*moby.DockerSDConfig + GcplogConfig *GcplogTargetConfig + GelfConfig *GelfTargetConfig + JobName string + JournalConfig *JournalTargetConfig + KafkaConfig *KafkaTargetConfig + PipelineStages stages.PipelineStages + PushConfig *PushTargetConfig + RelabelConfigs []*relabel.Config + ServiceDiscoveryConfig ServiceDiscoveryConfig + SyslogConfig *SyslogTargetConfig + WindowsConfig *WindowsEventsTargetConfig + func (c *Config) HasServiceDiscoveryConfig() bool + func (c *Config) UnmarshalYAML(unmarshal func(interface{}) error) error + type GcplogTargetConfig struct + Labels model.LabelSet + ProjectID string + Subscription string + UseIncomingTimestamp bool + type GelfTargetConfig struct + Labels model.LabelSet + ListenAddress string + UseIncomingTimestamp bool + type JournalTargetConfig struct + JSON bool + Labels model.LabelSet + MaxAge string + Path string + type KafkaAuthentication struct + SASLConfig KafkaSASLConfig + TLSConfig promconfig.TLSConfig + Type KafkaAuthenticationType + type KafkaAuthenticationType string + type KafkaSASLConfig struct + Mechanism sarama.SASLMechanism + Password flagext.Secret + TLSConfig promconfig.TLSConfig + UseTLS bool + User string + type KafkaTargetConfig struct + Assignor string + Authentication KafkaAuthentication + Brokers []string + GroupID string + Labels model.LabelSet + Topics []string + UseIncomingTimestamp bool + Version string + type PushTargetConfig struct + KeepTimestamp bool + Labels model.LabelSet + Server server.Config + type ServiceDiscoveryConfig struct + AzureSDConfigs []*azure.SDConfig + ConsulAgentSDConfigs []*consulagent.SDConfig + ConsulSDConfigs []*consul.SDConfig + DNSSDConfigs []*dns.SDConfig + DigitalOceanSDConfigs []*digitalocean.SDConfig + DockerSwarmSDConfigs []*moby.DockerSwarmSDConfig + EC2SDConfigs []*aws.EC2SDConfig + FileSDConfigs []*file.SDConfig + GCESDConfigs []*gce.SDConfig + KubernetesSDConfigs []*kubernetes.SDConfig + MarathonSDConfigs []*marathon.SDConfig + NerveSDConfigs []*zookeeper.NerveSDConfig + OpenstackSDConfigs []*openstack.SDConfig + ServersetSDConfigs []*zookeeper.ServersetSDConfig + StaticConfigs discovery.StaticConfig + TritonSDConfigs []*triton.SDConfig + func (cfg ServiceDiscoveryConfig) Configs() (res discovery.Configs) + type SyslogTargetConfig struct + IdleTimeout time.Duration + LabelStructuredData bool + Labels model.LabelSet + ListenAddress string + MaxMessageLength int + TLSConfig promconfig.TLSConfig + UseIncomingTimestamp bool + type WindowsEventsTargetConfig struct + BookmarkPath string + EventlogName string + ExcludeEventData bool + ExcludeUserData bool + Labels model.LabelSet + Locale uint32 + PollInterval time.Duration + Query string + UseIncomingTimestamp bool Other modules containing this package github.com/pao214/loki/v2