Fluentd is a data collection and processing tool that supports multiple input sources, data formats, and output destinations. The tool allows you to stream and consolidate logs from different applications into one unified format and send this information to the Gcore Managed Logging.Documentation Index
Fetch the complete documentation index at: https://gcore.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Install Fluentd
Download Fluentd from the official Fluentd website and install it using your preferred method.Configure Fluentd
A standard Fluentd configuration consists of three sections:input, filter, and output. The input and filter sections depend on the sources of logs.
To send logs to Gcore Managed Logging, configure Fluentd with the Kafka Integration Plugin in your Fluentd installation.
1. Configure Fuentd with Kafka output by adding the following data to the fluent.conf file:
- brokers: Kafka servers to which logs will be exported
- username: Your username
- password: Your password
- default_topic: Your username and topic name, separated with a dot (.)
Descriptions of the 'output' parameters
Descriptions of the 'output' parameters
- brokers : Kafka servers to which Fluentd logs will be sent
- scram_mechanism : Authentication mechanism that verifies a username and password entered to sign in your logs storage
- default_topic : Kafka topic to which logs will be exported
- sasl_over_ssl : Use SASL for authentication and SSL for secure communication when set to “true”