Difference between revisions of "Kubernetes fluent bit installation"
Jump to navigation
Jump to search
(41 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
* https://docs.fluentbit.io/manual/installation/kubernetes | * https://docs.fluentbit.io/manual/installation/kubernetes | ||
− | + | * <code>[[helm repo add fluent https://fluent.github.io/helm-charts]]</code> | |
− | + | * <code>[[helm upgrade -i fluent-bit fluent/fluent-bit]]</code> | |
+ | * <code>[[helm install fluent-bit fluent/fluent-bit -f values.yml]]</code> | ||
+ | * [[Fluent Bit values.yml]]: | ||
+ | ** https://github.com/fluent/helm-charts/blob/main/charts/fluent-bit/values.yaml | ||
+ | ** https://raw.githubusercontent.com/fluent/helm-charts/main/charts/fluent-bit/values.yaml | ||
+ | <code>[[Fluent bit outputs|outputs:]] Host</code> configuration | ||
+ | https://docs.fluentbit.io/manual/pipeline/outputs | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | == TLS Errors == | ||
+ | [error] [http_client] [[broken connection to]] | ||
+ | |||
+ | [opensearch-cluster-master-0] [[caught exception while handling client http traffic, closing connection]] | ||
+ | |||
+ | Solution: [[TLS]] https://docs.fluentbit.io/manual/pipeline/outputs/tcp-and-tls | ||
+ | [OUTPUTS] | ||
+ | tls On | ||
+ | tls.verify Off | ||
+ | |||
+ | == Unauthorized Errors == | ||
+ | [output:es:es.0] HTTP status=401 URI=/_bulk, responser: | ||
+ | [[Unauthorized]] | ||
+ | |||
+ | |||
+ | == [[illegal_argument_exception]] == | ||
+ | * <code>illegal_argument_exception ... [[contains an unknown parameter]] [_type] ...</code> | ||
+ | * <code>[[illegal_argument_exception ... Limit of total fields XXXX has been exceeded]]</code> | ||
+ | * <code>[[Suppress_Type_Name]]</code> | ||
+ | |||
+ | * <code>[[failed to flush chunk]]</code> | ||
+ | |||
+ | * <code>... [[Domain not found]]</code> | ||
+ | |||
+ | == Related == | ||
* [[Logstash]] format to ingest the logs | * [[Logstash]] format to ingest the logs | ||
+ | * <code>[[DaemonSet]]</code> | ||
+ | * [[Input plugins]]: <code>Name tail</code>, <code>Name [[systemd]]</code> | ||
+ | * [[Elasticsearch]]: <code>"index.mapping.[[total_fields]].limit": 2000</code> | ||
== See also == | == See also == | ||
* {{Fluent Bit}} | * {{Fluent Bit}} | ||
+ | |||
+ | [[Category:Fluent Bit]] |
Latest revision as of 18:14, 23 January 2023
helm repo add fluent https://fluent.github.io/helm-charts
helm upgrade -i fluent-bit fluent/fluent-bit
helm install fluent-bit fluent/fluent-bit -f values.yml
outputs: Host
configuration
https://docs.fluentbit.io/manual/pipeline/outputs
TLS Errors[edit]
[error] [http_client] broken connection to
[opensearch-cluster-master-0] caught exception while handling client http traffic, closing connection
Solution: TLS https://docs.fluentbit.io/manual/pipeline/outputs/tcp-and-tls [OUTPUTS] tls On tls.verify Off
Unauthorized Errors[edit]
[output:es:es.0] HTTP status=401 URI=/_bulk, responser: Unauthorized
illegal_argument_exception[edit]
illegal_argument_exception ... contains an unknown parameter [_type] ...
illegal_argument_exception ... Limit of total fields XXXX has been exceeded
Suppress_Type_Name
... Domain not found
Related[edit]
- Logstash format to ingest the logs
DaemonSet
- Input plugins:
Name tail
,Name systemd
- Elasticsearch:
"index.mapping.total_fields.limit": 2000
See also[edit]
Advertising: