Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Parse processor not recognising multiple lines

avatar
Explorer

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.

1 ACCEPTED SOLUTION

avatar
Explorer

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).

View solution in original post

1 REPLY 1

avatar
Explorer

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).