diff --git a/notifiers/loki/loki.go b/notifiers/loki/loki.go index 63eca1a2..300b7db5 100644 --- a/notifiers/loki/loki.go +++ b/notifiers/loki/loki.go @@ -10,19 +10,6 @@ import ( "github.com/Issif/falco-talon/utils" ) -// loki: -// # hostport: "" # http://{domain or ip}:{port}, if not empty, Loki output is enabled -// # user: "" # user for Grafana Logs -// # apikey: "" # API Key for Grafana Logs -// # minimumpriority: "" # minimum priority of event for using this output, order is emergency|alert|critical|error|warning|notice|informational|debug or "" (default) -// # mutualtls: false # if true, checkcert flag will be ignored (server cert will always be checked) -// # checkcert: true # check if ssl certificate of the output is valid (default: true) -// # tenant: "" # Add the Tenant header -// # endpoint: "/loki/api/v1/push" # The endpoint URL path, default is "/loki/api/v1/push" more info : https://grafana.com/docs/loki/latest/api/#post-apiprompush -// # extralabels: "" # comma separated list of fields to use as labels additionally to rule, source, priority, tags and custom_fields -// # customHeaders: # Custom headers to add in POST, useful for Authentication -// # key: value - type Configuration struct { CustomHeaders map[string]string `field:"custom_headers"` HostPort string `field:"host_port"`