Comments (3)
Works fine on Kubernetes 1.29.1
Client Version: v1.29.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.1
[2024/03/25 12:01:03] [ info] [input:kubernetes_events:kubernetes_events.0] API server: https://kubernetes.default.svc:443
[2024/03/25 12:01:03] [ info] [input:kubernetes_events:kubernetes_events.0] thread instance initialized
[2024/03/25 12:01:03] [ info] [filter:kubernetes:kubernetes.0] https=1 host=kubernetes.default.svc port=443
[2024/03/25 12:01:03] [ info] [filter:kubernetes:kubernetes.0] token updated
[2024/03/25 12:01:03] [ info] [filter:kubernetes:kubernetes.0] local POD info OK
[2024/03/25 12:01:03] [ info] [filter:kubernetes:kubernetes.0] testing connectivity with API server...
[2024/03/25 12:01:03] [ info] [filter:kubernetes:kubernetes.0] connectivity OK
[2024/03/25 12:01:03] [ info] [output:es:es.0] worker #0 started
[2024/03/25 12:01:03] [ info] [output:es:es.0] worker #1 started
[2024/03/25 12:01:03] [ info] [http_server] listen iface=0.0.0.0 tcp_port=2020
[2024/03/25 12:01:03] [ info] [sp] stream processor started
details
fluent-bit.tf
# Fluent Bit
resource "helm_release" "fluent-bit" {
name = "fluent-bit"
repository = "https://fluent.github.io/helm-charts"
chart = "fluent-bit"
version = "0.44.0"
namespace = logs
timeout = 300
values = [file("${path.module}/values/fluent-bit.yaml")]
}
fluent-bit.yaml
# Chart - https://github.com/fluent/helm-charts/tree/main/charts/fluent-bit
# Main
kind: Deployment
replicaCount: 1
image:
repository: cr.fluentbit.io/fluent/fluent-bit
tag: 3.0.0-debug
testFramework:
enabled: false
# Permissions
rbac:
create: true
nodeAccess: true
eventsAccess: true
# Configuration
config:
service: |
[SERVICE]
flush 1
daemon Off
LogLevel info
Config_Watch On
Parsers_File parsers.conf
HTTP_Server On
HTTP_Listen 0.0.0.0
HTTP_Port 2020
inputs: |
[INPUT]
Name kubernetes_events
Tag kube_events
Kube_url https://kubernetes.default.svc
outputs: |
[OUTPUT]
Name es
Match kube_events
Host elastic
Port 9200
Compress gzip
Type _doc
Suppress_Type_Name On
Logstash_Format On
Logstash_Prefix kube-events
tls On
tls.verify Off
[OUTPUT]
name stdout
match kube_events
Format json
Can it be related to your setup?
from fluent-bit.
I do not see any debug level logs in your original output either @ashishkumar256 which I'd expect with the log level set that way.
How are you deploying all this? The OSS helm chart?
What's the full pod spec and make sure the cluster role is being properly configured for the SA?
Are you sure you have the right TLS and K8S API server address? Can you confirm it works with the -debug
image?
from fluent-bit.
Thanks @patrick-stephens, above shared configurations seems to be working. I was using my own written helm charts that were having all required configurations & permissions. I'll compare it, get it fixed.
from fluent-bit.
Related Issues (20)
- Multiple nestings under the same key lead to duplicate maps HOT 1
- Fluentbit 3.0 Opentelemetry does not process records correctly
- 3.0.5: output:splunk: Error http_status=401 Token is required HOT 8
- Prometheus metrics "fluentbit_output_upstream_busy_connections" shows negative value during connection timed out HOT 3
- `Logstash_Prefix_Key` not working (any more?) in Fluent Bit 3.x
- Support for linux on IBM Power platform (ppc64le) HOT 3
- Fluentbit multiline parsing is not working as intended HOT 3
- Unable to STS assume Role in fluentbit/S3 plugin HOT 2
- Store the logs in log-storage & GCS storage through fluentbit HOT 1
- Could the `Elasticsearch OUTPUT` Index configuration support dynamic index name (use record accessor) ? HOT 5
- Release 2.2.3 link is broken https://fluentbit.io/announcements/v2.2.3/ HOT 2
- HTTP requests should have an `User-Agent` header HOT 1
- Fluentbit AWS S3 output replaces %2F as Date
- Tracing documentation samples fail for the latest fluent bit release HOT 2
- Add remove_keys_except parameter to Loki output
- hash_value_field support (from fluentd) for fluent-bit's filter_parsers
- Properly formated User-Agent should be sent in all HTTP Requests HOT 1
- The parsed timestamp does not send into loki
- Finding a way to supress or redirect fluent-bit startup log HOT 2
- in_node_exporter_metrics: add mdadm collector
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-bit.