github.com/caos/orbos@v1.5.14-0.20221103111702-e6cd0cea7ad4/internal/operator/boom/application/applications/logcollection/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  	lables := map[string]string{"app.kubernetes.io/instance": "logging-operator", "app.kubernetes.io/name": "logging-operator"}
     7  
     8  	return &logging.FlowConfig{
     9  		Name:           "flow-logging-operator",
    10  		Namespace:      "caos-system",
    11  		SelectLabels:   lables,
    12  		Outputs:        outputs,
    13  		ClusterOutputs: clusterOutputs,
    14  		ParserType:     "json",
    15  	}
    16  }