Normal log throws entry out of order

Hi All,my log is not out of order.But why does “entry out of order” appear.


Docker logs:
level=error ts=2021-10-26T08:16:30.004639827Z caller=client.go:355 component=client host= msg=“final error sending batch” status=400 error=“server returned HTTP status 400 Bad Request (400): entry with timestamp 2021-10-26 08:16:28.932732 +0000 UTC ignored, reason: ‘entry out of order’ for stream: {ConfUri=“780679392@public”, Level=“notice”, environment=“env–test”, filename=”/home/mcs/log/cs.log"},"

my conf:

  • job_name: cs_log
    • targets:
      • localhost
    • labels:
      environment: ${ENVIRONMENT}
      path: /home/mcs/log/{cslog,tmplog}
    • multiline:
      firstline: ‘^\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}.\d{6}\s[.]:[.]\s[.]\s.
      max_wait_time: 3s
    • regex:
      expression: (?P\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}.\d{6}).*
    • timestamp:
      source: time
      format: “2006-01-02 15:04:05.999999”
      action_on_failure: fudge