You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running elasticsearch, fluentd, and Kibana in an EKS Kubernetes cluster. I have 3 pods in the same cluster that generate logs which are written to a volume mount, which is mounted in the fluentd pod. I have provided all 3 log paths in the fluent config file, like so:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running elasticsearch, fluentd, and Kibana in an EKS Kubernetes cluster. I have 3 pods in the same cluster that generate logs which are written to a volume mount, which is mounted in the fluentd pod. I have provided all 3 log paths in the fluent config file, like so:
path /first-pod/*.log,/second-pod/*.log,/third-pod/*.log
However, I only see the logs from the
first-pod
showing up. If reorder the path like so:path /second-pod/*.log,/third-pod/*.log,/first-pod/*.log
I will only see the logs of
second-pod
.I also tried putting everything in a single folder
And setting the path like this:
path /path/to/logs/**/*.log
But then it only took the logs of
third-pod
(likely selecting the alphabetically last).So any ideas on how I can get logs from all directories pushed into elasticsearch?
Full fluentd conf file:
Beta Was this translation helpful? Give feedback.
All reactions