Read_lines_limit parameter of tail plugin in fluentd is not taking any effect

I am trying to limit number of lines read by fluentd while tailing by setting read_lines_limit parameter. I have configured in the below format:

@type tail path /var/log/sample.json read_from_head true read_lines_limit 10 tag fluentd pos_file /var/log/access.log.pos format json Please check and suggest if there is any configuration error and how does this parameter actually work. Thanks in advance