```ruby
class Fluentd
  module Setting
    class OutForward
      include Fluentd::Setting::Plugin

      register_plugin("output", "forward")

      def self.initial_params
        {
          secondary: {
            "0" => {
              type: "file",
            }
          }
        }
      end

      def common_options
        [
          :pattern, :server, :secondary,
        ]
      end

      def hidden_options
        [
          :inject, :buffer,
          :host, :port
        ]
      end
    end
  end
end
```

Use out_file as secondary output
user
```ruby
class Fluentd
  module Setting
    class OutForward
      include Fluentd::Setting::Plugin

      register_plugin("output", "forward")

      config_section :secondary do
        config_param :path, :string
      end

      def self.initial_params
        {
          secondary: {
            "0" => {
              type: "file",
            }
          }
        }
      end

      def common_options
        [
          :pattern, :server, :secondary,
        ]
      end

      def hidden_options
        [
          :inject, :buffer,
          :host, :port
        ]
      end
    end
  end
end
```
assistant