Sending logs from a specific folder

  • Using fluentd enables logs to transfer to the Hive log collecting server by reading the log from a local JSON file as shown picture below.

 


Example

  • Example for the log in local JSON file
  • How to stack logs in the log file
    Configuring tdagent.conf as shown below, you can implement stacking logs in the log file.

  • secondary : Backup option. You can use secondary when it is unavailable to use the server because an error occurs, and back up the logs to path as a file format.
  • Buffer Plugin : Buffer is a set of chunks. Chunks are flushed to the output queue periodically and transferred to the designated target. The following image shows the operating sequence.