In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to achieve Fluentd system configuration, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it!
First of all, the "system configuration" in this article refers to the global configuration items of Fluentd, such as turning on RPC, using multi-worker mode, and so on. It can be configured in the configuration file or from the command line.
Parameters.
Workers: specifies the number of worker processes. Default is 1.
Root_dir: configuring the root directory
Log_level: sets the log level. Available values are trace, debug, info, warn, error, and fatal. Default is info
Suppress_repeated_stacktrace: whether to disable duplicate stack traces
Emit_error_log_interval: send error log interval
Without_source: call fluentd, but do not use the input plug-in
Rpc_endpoint: specifies the rpc port used to maintain fluentd
Process_name: sets the process name
File_permission: setting fluentd file permissions
Dir_permission: setting fluentd directory permissions
Configuration item
Format: specifies the log format, text or json. Default is text.
Time_format: the time format used by the log, default is% Y-%m-%d% H:%M:%S% z
Command line options
-s,-- setup [DIR=/etc/fluent]: writes the sample configuration file to the specified directory
-c,-- config PATH: select the profile to use
-- dry-run: check that fluentd is installed correctly
-d,-- daemon PIDFILE: run in the background
-- user USER: switch between running users
-- group GROUP: switch user groups
-o,-- log PATH: set the log path
-- number of log-rotate-age AGE:fluentd log rotate
-- use-v1-config: use v1 version of the configuration format, default
-- use-v0-config: use v0 version of the configuration format
These are all the contents of the article "how to implement system configuration in Fluentd". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.