Closed srikiz closed 2 years ago
It's very strange. Logs suggest that SCK is able to send the logs successfully. Have you checked splunkd internal logs? Also, can you try with the latest version (v1.4.15)
I tried with the latest version and it's the same behavior. I see it only works until 1.4.9
- I don't have access to the other splunkd internal logs, but I'll try to get that.
Forgot to mention that I do see monitoring events getting pushed - but everything else like (container logs, kubelet) is missing.
Hi @srikiz, any update on this? You are able to receive monitoring events, which suggests that there is no issue with the fluentd or splunk_hec plugin. Also, the logs are not indicating any issue. I would suggest doing a clean installation with default settings. And start from there.
I have the same behaviour.
Hi @harshit-splunk - I haven't got a chance to test this again. But based on my previous test, I was able to receive monitoring events and also the journal logs. But definitely container logs are missing. I will take another look at it sometime this week.
Hi, @srikiz! Take a look at the time field attached to the event. In my case, after upgrade I figured out the time field is two hours difference.
Enabling localTime worked for me:
localTime: true
Thanks @ansilva1 - that worked for me as well ! I am closing this ticket.
What happened: Been using splunk-connect-for-kubernetes with
1.4.7
tag for a while and wanted to update to the latest1.4.13
- Upgrading helm chart stopped pushing logs to splunk enterprise 8.1.4. Added debug logs and that doesn't complain of any issue. Then took each upgrade at a time and realized it failed when upgrading from1.4.9
to1.4.10
Added debug logs and that doesn't complain of any issue.What you expected to happen: Splunk upgrade should work as expected
How to reproduce it (as minimally and precisely as possible):
1.4.9
tag1.4.10
Anything else we need to know?:
Log snippet for reference:
Environment:
kubectl version
):1.23.9
ruby --version
):ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux]
cat /etc/os-release
): "Red Hat Enterprise Linux 8.4"8.1.4
1.4.10
fluent-hec
version is upgraded from1.2.7
to1.2.8
. Comparing https://github.com/splunk/fluent-plugin-splunk-hec/compare/1.2.7...1.2.8 I see fluend is upgraded to1.14.2
from1.13.2
Also tested by using1.2.7
tag on this helm chart and that seem to work as expected.