Fluentd
How to Rotate Log Files in Fluentd?
Fluentd offers the capability to set up log rotation, particularly useful when managing large volumes of logs that consume significant disk space. This feature can be configured through Fluentd's s...
How to Use Conditional Statements In Fluentd
Conditional statements can be seamlessly integrated into Fluentd's record_transformer plugin. Here’s how you can do it: <filter mylogs> @type recordtransformer enableruby true <record> is...
How to exclude pattern in <match> for fluentd config?
To selectively filter log events in Fluentd, you can use the <match> directive to specify which events to process and which to discard. Here's how you can do it: To discard all events that match a ...
How to Add Tags to Fluentd Events
Here is how you can add tags to Fluentd events. Let's assume you configured Fluentd to process Nginx access logs from the access.log file with a source configuration like this: <source> @type ta...
Fluentd vs Logstash: How to Choose in 2024
Explore log collectors Fluentd & Logstash, comparing their features and performance to determine the optimal choice for your log collection and management needs.
How to Collect, Process, and Ship Log Data with Fluentd
Learn how to use Fluentd to collect, process, and ship log data at scale, and improve your observability and troubleshooting capabilities.
Fluentd vs Fluent Bit: How to Choose in 2024
Discover Fluentd and Fluent Bit log collectors, examining their features and performance to identify the ideal solution for your log collection and management requirements.
How to Send Logs to Multiple Outputs With Same Match Tags in Fluentd?
To direct logs matching a specific tag to multiple outputs in Fluentd, the @type copy directive can be utilized. Here's an example configuration: <match pattern> @type copy <store> ...
How to Use Environmental Variables in Fluentd Config
Fluentd, starting from version v1.13.0, allows the integration of environment variables within its configuration using the syntax #{ENV['YOUR_ENV_VARIABLE']}. For instance, if you've defined an env...
How to Monitor a Whole Directory With Fluentd?
Fluentd provides an efficient way to monitor entire directories for log file updates. Let's say you want to track all log files in a directory like /var/log/app_dir, which contains multiple logs su...
How to Fix The “Pattern Not Match” Error in Fluentd
If you're new to FluentD and looking to build a solid foundation, consider checking out our comprehensive guide on how to collect, process, and ship log data with Fluentd. It provides valuable insi...
The Top 7 Log Shippers and How to Choose One
This article will help you choose the right log shipper for your needs, and will also provide a comparison of the top 6 log shippers on the market