Skip to main content
robnew666
Gold ⭐️
November 2, 2020
Solved

Parse processor not recognising multiple lines

I am trying a ParseCEF & a ParseSysLog processor with a text file and it falls down at the point of Parsing wrt only seeing the first line and then stopping. Are there any examples of parsing a text file to JSON and also recognising the multiple lines after the Parse processor so that there are multiple lines but in the same file. (I realise you can do a SplitText processor before the Parsing, but don't want to go this route.

robnew666
robnew666Answer
Gold ⭐️
November 4, 2020

Came up with a fix for this as it was a text file - to splittext each line (1) at the beginning before converting to a JSON file. (think it was the only way to do this as couldn't split after).

1 reply

robnew666
robnew666AuthorAnswer
Gold ⭐️
November 4, 2020

Came up with a fix for this as it was a text file - to splittext each line (1) at the beginning before converting to a JSON file. (think it was the only way to do this as couldn't split after).

Translate