Fluentd
Fluentd configuration
Fluentd out-forward
Buffered Output plugin forwards events to other fluentd nodes. Apica Ascent has the capability to act as one of the fluentd nodes.
The below code block defines the minimal changes to be added to fluentd configuration to start sending log events to flash. It is important to have the transformations while sending the data to Apica Ascent.
Fluentd K8S
If you are running a K8S cluster, you can use fluentd to send data to the Apica AscentApica Ascent server. Please see below for instructions
Managing multiple K8S clusters in a single Apica Ascent instance
When deploying fluentd daemonset on K8S clusters, we recommend you use the fluentd daemon set container provided by Apica Ascent. It is available at https://hub.docker.com/repository/docker/logiqai/fluentd-remote-syslog. It allows the administrator to pass a human readable CLUSTER_ID
or cluster identifier with all the log data.
Providing a CLUSTER_ID allows Apica Ascent to separate namespaces that may be conflicting in two separate K8S clusters.
It is also easier for the administrator to use human readable names vs Apica Ascent using uuid's etc that it detects from the incoming stream.
Running the fluentd daemonset
Clone the repository to get the
kubectl
YAML files to start your daemonset
The files needed are under folder
fluentd
TLS Mode
Edit the fluentd/secret.yaml
to include your CA and Client pub/private keys in base64 encoded format
Edit the fluentd/fluentd-logiq.yaml
and add your Apica Ascent cluster IP/DNS. Also configure your CLUSTER_ID
(e.g. RC, Prod, Dev-Test, QA).
Run the kubectl
commands to create the kube-logging
namespace. You can choose a different namespace as well. In case a different namespace is used please edit the YAML files to set the correct namespace before applying them
Non-TLS Mode
Edit the**fluentd/fluentd-logiq_non_tls.yaml
**and add your Apica Ascent cluster IP/DNS. Also configure your CLUSTER_ID
(e.g. RC, Prod, Dev-Test, QA)
Run the kubectl
commands to create the kube-logging
namespace. You can choose a different namespace as well. In case a different namespace is used please edit the YAML files to set the correct namespace before applying them
Last updated