openshift-logging collector Vector , collecting logs from custom path

Posted on

hi

We have openshift cluster with openshift-logging operator and Loki operator installed, we are using log collector type as vector, and we want vector to collect logs from custom path as well, along with defaults path. Below is the yaml for the openshift-logging instance , so far i don't find any configuration which goes in collector section below related to vector collecting logs from custom path, and also not in the documentation .could you please help.

apiVersion: logging.openshift.io/v1
kind: ClusterLogging
metadata:
name: instance
namespace: openshift-logging
spec:
managementState: Managed
logStore:
type: lokistack
lokistack:
name: logging-loki
collection:
type: vector
resources: {}
tolerations: {}

thanks

Responses