Skip to content

Commit

Permalink
remove todo comment
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Labarussias <issif+github@gadz.org>
  • Loading branch information
Issif committed Jan 24, 2024
1 parent 4a00898 commit 87cb896
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions notifiers/loki/loki.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 87cb896

Please sign in to comment.