About the CloudPoint fluentd configuration file
Fluentd uses a configuration file that defines the source of the log messages, the set of rules and filters to use for selecting the logs, and the target destinations for delivering those log messages.
The fluentd daemon running on the CloudPoint host is responsible for sending the CloudPoint logs to various destinations. These target destinations, along with the other details such as input data sources and required fluentd parameters are defined in the plug-in configuration file. For CloudPoint, these plug-in configurations are stored in a fluentd configuration file that is located at /cloudpoint/fluent/fluent.conf on the CloudPoint host. The fluentd daemon reads the output plug-in definition from this configuration file to determine where to send the CloudPoint log messages.
The following output plug-in definitions are added to the configuration file by default:
STDOUTThis is used to send the CloudPoint log messages to
/cloudpoint/logs/flexsnap.log.The plug-in is defined as follows:
# Send to fluentd docker logs <store> @type stdout </store>
Additionally, the CloudPoint fluentd configuration file includes plug-in definitions for the following destinations:
MongoDB
Splunk
ElasticSearch
These plug-in definitions are provided as a template and are commented out in the file. To configure an actual MongoDB, Splunk, or ElasticSearch target, you can uncomment these definitions and replace the parameter values as required.