{"record":{"id":"816976a6de0421a9","repo":"fluent/fluentd","slug":"missing-symbol-argument-on-label-directive-816976","errorCode":null,"errorMessage":"Missing symbol argument on <label> directive","messagePattern":"Missing symbol argument on <label> directive","errorType":"exception","errorClass":"Fluent::ConfigError","httpStatus":null,"severity":"error","filePath":"lib/fluent/static_config_analysis.rb","lineNumber":142,"sourceCode":"      end\n\n      if r < 0 || r >= @workers\n        raise Fluent::ConfigError, \"worker id #{r} specified by <worker> directive is not allowed. Available worker id is between 0 and #{@workers-1}\"\n      end\n\n      if l > r\n        raise Fluent::ConfigError, \"greater first_worker_id<#{l}> than last_worker_id<#{r}> specified by <worker> directive is not allowed. Available multi worker assign syntax is <smaller_worker_id>-<greater_worker_id>\"\n      end\n\n      [l, r]\n    end\n\n    def static_label_analyse(conf)\n      ret = []\n      conf.elements(name: 'label').each do |e|\n        name = e.arg\n        if name.empty?\n          raise ConfigError, 'Missing symbol argument on <label> directive'\n        end\n\n        if @labels[name]\n          raise ConfigError, \"Section <label #{name}> appears twice\"\n        end\n\n        l = Elem::Label.new(name, e, static_filter_and_output_analyse(e))\n        ret << l\n        @labels[name] = l\n      end\n\n      ret\n    end\n\n    def static_filter_and_output_analyse(conf)\n      ret = []\n      conf.elements('filter', 'match').each do |e|\n        type = e['@type']","sourceCodeStart":124,"sourceCodeEnd":160,"githubUrl":"https://github.com/fluent/fluentd/blob/dd45c6e18dc7be33b5e5a0f0767bf46307ff5626/lib/fluent/static_config_analysis.rb#L124-L160","documentation":"Error \"Missing symbol argument on <label> directive\" thrown in fluent/fluentd.","triggerScenarios":"Thrown at lib/fluent/static_config_analysis.rb:142 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"dd45c6e18dc7be33b5e5a0f0767bf46307ff5626","analyzedAt":"2026-08-21T16:22:07.332Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}