Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Extract a text from Json

Rising Star

Hi,

I am using the attached flattened json message and i would like to extract payload attribute in order to decode it. I use the EvaluateJsonFormat with flowfile-attribute destination and added payload property with $.payload but it doesn't just extract only payload and it returns all the Json message.

Any thoughts what i am doing wrong?

Thanks

1 ACCEPTED SOLUTION

Super Guru
@Sanaz Janbakhsh

i tried with your json message and eval json path processor with

payload property as $.payload 

processor working as expected..

42581-eval-json.png

Output:-

42582-op.png

Can you share screenshots about your processors configurations,input to processor and flow, that would be great help to find root cause of your issue.

View solution in original post

2 REPLIES 2

Super Guru
@Sanaz Janbakhsh

i tried with your json message and eval json path processor with

payload property as $.payload 

processor working as expected..

42581-eval-json.png

Output:-

42582-op.png

Can you share screenshots about your processors configurations,input to processor and flow, that would be great help to find root cause of your issue.

Rising Star

Awesome. Thanks Shu

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.