Can read_from_head work with pos_file together?

Set pos_file only will send data correctly. But if set with read_from_head will get error

  @type forward
  port 24224
  pos_file /a/pos_file/path
  read_from_head true

Because of read_from_head, fluentd can’t start successfully.

If set read_from_head only, fluentd can start but can’t send data.

Can’t they work together?

They should work together. Could you copy & paste the error message you see?

I didn’t memo the error message before. I remember the error was due to the pos file, it seems can’t recognize right position with read_from_head together.