Copy File Collector

The Copy File Custom Collector

This content is associated with a legacy version of the Replicated product. For the current Replicated product documentation, see

Copy File Collector

A commonly used, general purpose collector is the collector. This copies the contents of a file from the filesystem, and includes the copy in the support bundle.

This collector is fully documented in the reference docs.


To illustrate how to use this collector, consider a support bundle that we’d like to collect some application specific log files from /var/log/application.log.

        output_dir: /logs/application.log
        filepath: /var/log/application.log
        include_empty: true

The above collector definition will include the log file in the support bundle at /logs/application.log, even if empty.