How can set multiline in filebeat

This is my log sample that all lines are starting with follow :
134.255.248.30 - - [01/May/2024:13:54:53 +0330]
I want to use multiline pattern in my filebeat.yml file so I used follow syntax

parsers:

  • multiline:
    type: pattern
    pattern: ^([\d.]{3,17} - - [[\d/:]{1,4}[A-Z]{1,3}[a-z/]{1,5}[\d:]{1,20})
    negate: true
    match: after

Is that correct ?

Would you please help me about multiline ?

Can anyone help me about multiline . Is that correct ?