Difference between revisions of "Kubernetes fluent bit installation"
Jump to navigation
Jump to search
(16 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
* <code>[[helm repo add fluent https://fluent.github.io/helm-charts]]</code> | * <code>[[helm repo add fluent https://fluent.github.io/helm-charts]]</code> | ||
* <code>[[helm upgrade -i fluent-bit fluent/fluent-bit]]</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]]: | |
− | * Fluent Bit | ||
** https://github.com/fluent/helm-charts/blob/main/charts/fluent-bit/values.yaml | ** 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 | ** https://raw.githubusercontent.com/fluent/helm-charts/main/charts/fluent-bit/values.yaml | ||
Line 11: | Line 11: | ||
<code>[[Fluent bit outputs|outputs:]] Host</code> configuration | <code>[[Fluent bit outputs|outputs:]] Host</code> configuration | ||
https://docs.fluentbit.io/manual/pipeline/outputs | https://docs.fluentbit.io/manual/pipeline/outputs | ||
+ | |||
+ | |||
+ | |||
Line 29: | Line 32: | ||
== [[illegal_argument_exception]] == | == [[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 == | == Related == | ||
Line 35: | Line 44: | ||
* <code>[[DaemonSet]]</code> | * <code>[[DaemonSet]]</code> | ||
* [[Input plugins]]: <code>Name tail</code>, <code>Name [[systemd]]</code> | * [[Input plugins]]: <code>Name tail</code>, <code>Name [[systemd]]</code> | ||
+ | * [[Elasticsearch]]: <code>"index.mapping.[[total_fields]].limit": 2000</code> | ||
== See also == | == See also == |
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: