| Server IP : 34.67.85.211 / Your IP : 216.73.217.52 Web Server : Apache System : Linux wordpress-1-vm 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 User : root ( 0) PHP Version : 7.4.9 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /etc/google-fluentd/ |
Upload File : |
# Master configuration file for google-fluentd # Include any configuration files in the config.d directory. # # An example "catch-all" configuration can be found at # https://github.com/GoogleCloudPlatform/fluentd-catch-all-config @include config.d/*.conf # Prometheus monitoring. <source> @type prometheus port 24231 </source> <source> @type prometheus_monitor </source> # Do not collect fluentd's own logs to avoid infinite loops. <match fluent.**> @type null </match> # Add a unique insertId to each log entry that doesn't already have it. # This helps guarantee the order and prevent log duplication. <filter **> @type add_insert_ids </filter> # Configure all sources to output to Google Cloud Logging <match **> @type google_cloud buffer_type file buffer_path /var/log/google-fluentd/buffers # Set the chunk limit conservatively to avoid exceeding the recommended # chunk size of 5MB per write request. buffer_chunk_limit 512KB # Flush logs every 5 seconds, even if the buffer is not full. flush_interval 5s # Enforce some limit on the number of retries. disable_retry_limit false # After 3 retries, a given chunk will be discarded. retry_limit 3 # Wait 10 seconds before the first retry. The wait interval will be doubled on # each following retry (20s, 40s...) until it hits the retry limit. retry_wait 10 # Never wait longer than 5 minutes between retries. If the wait interval # reaches this limit, the exponentiation stops. # Given the default config, this limit should never be reached, but if # retry_limit and retry_wait are customized, this limit might take effect. max_retry_wait 300 # Use multiple threads for processing. num_threads 8 # Use the gRPC transport. use_grpc true # If a request is a mix of valid log entries and invalid ones, ingest the # valid ones and drop the invalid ones instead of dropping everything. partial_success true # Enable monitoring via Prometheus integration. enable_monitoring true monitoring_type opencensus </match>