Log aggregation
The logs can be forwarded to a Vector log aggregator by providing a discovery ConfigMap for the aggregator and by enabling the log agent:
spec:
clusterConfig:
vectorAggregatorConfigMapName: vector-aggregator-discovery
brokers:
config:
logging:
enableVectorAgent: true
coordinators:
config:
logging:
enableVectorAgent: true
historicals:
config:
logging:
enableVectorAgent: true
middleManagers:
config:
logging:
enableVectorAgent: true
routers:
config:
logging:
enableVectorAgent: true
Further information on how to configure logging, can be found in Logging.