fluent/fluentd · error · ConfigParseError

include error at #{@fname} line #{@i}: #{e.to_s}

Error message

include error at #{@fname} line #{@i}: #{e.to_s}

What it means

Error "include error at #{@fname} line #{@i}: #{e.to_s}" thrown in fluent/fluentd.

Source

Thrown at lib/fluent/config/parser.rb:115

          }

          case u.scheme
          when 'http', 'https', 'ftp'
            # URI#open can be able to handle URIs for http, https and ftp.
            require 'open-uri'
            u.open(&parser_proc)
          else
            # TODO: This case should be handled in the previous if condition. Glob is not applied to some Windows path formats.
            # 'c:/path/to/file' will be passed as URI, 'uri' and 'u.path' will be:
            #   - uri is 'c:/path/to/file'
            #   - u.path is '/path/to/file' and u.scheme is 'c'
            # Therefore, the condition of the if statement above is not met and it is handled here.
            File.open(uri, &parser_proc)
          end
        end

      rescue SystemCallError => e
        raise ConfigParseError, "include error at #{@fname} line #{@i}: #{e.to_s}"
      end
    end
  end
end

View on GitHub (pinned to dd45c6e18d)

When it happens

Trigger: Thrown at lib/fluent/config/parser.rb:115 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of fluent/fluentd@dd45c6e18d (2026-08-21). Data as JSON: /api/errors/0354f31e48abd97e. Report an issue: GitHub.