github.com/caos/orbos@v1.5.14-0.20221103111702-e6cd0cea7ad4/internal/operator/boom/application/applications/systemdmetricsexporter/logs/logs.go (about)

     1  package logs
     2  
     3  import "github.com/caos/orbos/internal/operator/boom/application/applications/logcollection/logging"
     4  
     5  func GetFlow(outputs []string, clusterOutputs []string) *logging.FlowConfig {
     6  	ls := map[string]string{
     7  		"app": "systemd-exporter",
     8  	}
     9  
    10  	return &logging.FlowConfig{
    11  		Name:           "flow-prometheus-systemd-exporter",
    12  		Namespace:      "caos-system",
    13  		SelectLabels:   ls,
    14  		Outputs:        outputs,
    15  		ClusterOutputs: clusterOutputs,
    16  		ParserType:     "logfmt",
    17  	}
    18  }