Welcome to the community!
Can you provide us with a sample?
There is multiline codec as well as json codec. You should have something like this
input {
file {
path => ['/path/file.json']
codec => multiline {
pattern => '^{'
negate => true
what => previous
}
}
}
filter {
json {
source => "message"
}
}