Grok pattern to match multiple results

Hi guys,

I need to match the first line of each log and maybe store it in an array and prepend some metadata at the beginning of each line.. I have a grok pattern that's matching only the first result and ignores the rest.. how can I achieve this? btw, I don't know how many log lines this will have, it will be dynamic.

The grok pattern goes like this:

"(?m)(?Writing table data)%{GREEDYDATA}"

Please don't use pictures, just send the text within then "```"
Can't help if the data in picture...

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.