'Send XML file logs to splunk with this splunk-connect-for-kubernetes
Splunk connect for-kubernetes and I have been tryingto forward the XML file logs to splunk with this splunk-connect-for-kubernetes repo.
I tracked down to the problem in the global values.yaml file. I experimented a bit with the fluentd path and containers path and found that I likely needed to update the containers pathDest to the same file path as the pods logs. the below configuration i can see cantainer and Pod logs but I need to see XML file logs can anyone please help on this ...
# This is can be used to exclude verbose logs including various system and Helm/Tiller related logs.
fluentd:
# path of logfiles, default /var/log/containers/*.log
path: /var/log/containers/*.log
# paths of logfiles to exclude. object type is array as per fluentd specification:
# https://docs.fluentd.org/input/tail#exclude_path
exclude_path:
# - /var/log/containers/kube-svc-redirect*.log
# - /var/log/containers/tiller*.log
# - /var/log/containers/*_kube-system_*.log (to exclude `kube-system` namespace)
# Configurations for container logs
containers:
# Path to root directory of container logs
path: /var/log/containers/
# Final volume destination of container log symlinks
pathDest: /var/log/pods/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
