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 Fluentd with Kafka output by adding the following data to the fluent.conf file:
- brokers: Kafka servers to which logs will be exported
- username: Username from the Managed Logging page in the Gcore Customer Portal
- password: Password from the Managed Logging page
- default_topic: Username from the Managed Logging page and topic name, separated by 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 used to verify the username and password for the logs storage.
- default_topic: Kafka topic for log export, specified as
username.topic_name(username and topic name from the Managed Logging page, separated by a dot). - sasl_over_ssl: Enables SASL for authentication and SSL for secure communication when set to
true.