How to send both single line and multiple line to output

{"time":"2025-05-03T05:30:47+0000","pid":"1012395","level":"info"......
{"time":"2025-05-03T05:30:47+0000","pid":"1012395","level":"debug"......

All lines in the input files start like above and some are single line and some are multiline and some of them have level "info" and some "debug" .

Current configuration has the following, however only multiline is being captured . Is there a wild card or some other processor that needs to be added to collect everything from input file ?

        pattern: '^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}'
        negate: true
        match: after

Please share an example of a multiline log.