-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubernetes Metadata is missing 1.7.1 on output #3112
Comments
Most likely the kubernetes metadata size is too big: #2033 Recommend setting the Doc: https://docs.fluentbit.io/manual/pipeline/filters/kubernetes |
Thanks @servo1x that didn't make a difference though. Is there a way to debug the filter? |
Running into the same issue. Tried with versions 1.6, 1.7.1 & 1.7.2 as well. Config:
The document on ES looks like this : {
"_index": "#####",
"_type": "_doc",
"_id": "###",
"_version": 1,
"_score": null,
"_source": {
"@timestamp": "2021-03-08T09:44:18.825Z",
"log": "some message",
"time": "2021-03-08T09:44:18.825512135Z",
"az": "##-####-##",
"ec2_instance_id": "i-#####",
"ec2_instance_type": "#####",
"private_ip": "#.#.#.#",
"vpc_id": "vpc-######",
"ami_id": "ami-#########",
"account_id": "#####",
"hostname": "ip-#####"
},
"fields": {
"@timestamp": [
"2021-03-08T09:44:18.825Z"
],
"time": [
"2021-03-08T09:44:18.825Z"
]
}
} |
Is there a way to troubleshoot/debug this? @edsiper |
Still an issue with log_level debug on version 1.7.2 |
should works |
Just tried 1.7.3 @turbotankist I can't see anything wrong with the Debug info. ` [2021/04/19 12:50:42] [debug] [http_client] server kubernetes.default.svc:443 will close connection #29 Output Received:
|
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Bug Report
Describe the bug
I was trying to deploy multiple versions of the image to get the Kubernetes plugin to work. It looks like several versions have connectivity issues. However when I use 1.7.1 it does say it can connect.
Fluent Bit v1.7.1
[2021/02/23 16:57:54] [ info] [engine] started (pid=1)
[2021/02/23 16:57:54] [ info] [storage] version=1.1.0, initializing...
[2021/02/23 16:57:54] [ info] [storage] in-memory
[2021/02/23 16:57:54] [ info] [storage] normal synchronization mode, checksum disabled, max_chunks_up=128
[2021/02/23 16:57:54] [ info] [filter:kubernetes:kubernetes.0] https=1 host=kubernetes.default.svc port=443
[2021/02/23 16:57:54] [ info] [filter:kubernetes:kubernetes.0] local POD info OK
[2021/02/23 16:57:54] [ info] [filter:kubernetes:kubernetes.0] testing connectivity with API server...
[2021/02/23 16:57:54] [ info] [filter:kubernetes:kubernetes.0] API server connectivity OK
[2021/02/23 16:57:54] [ info] [http_server] listen iface=0.0.0.0 tcp_port=2020
[2021/02/23 16:57:54] [ info] [sp] stream processor started
To Reproduce
No data on the annotations, namespace, pod, host, etc. in the log output.
Expected behavior
Your Environment
Not sure what K8S-Logging.Exclude does
The text was updated successfully, but these errors were encountered: