Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CMD = &cobra.Command{ Use: "send-loki", Short: "Send logs to Loki instance", RunE: func(cmd *cobra.Command, args []string) error { if valid, err := Validate(); !valid { return err } return sendLogsToLoki(viper.GetString(folderFlag), viper.GetString(lokiURLFlag), viper.GetStringMapString(labelsFlag)) }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.