Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

content to attribute


content to attribute

New Contributor

HI I need help to extract some data from a mqtt topic.
Via mqtt I receive temperature data. I want this data alongside my attributes such as topic, uuid and so forth.

I thought the best solution would be to use the UpdateAttribute processor for this job. I defined a property payload which should hold the content of the mqtt message. But I don't have any clue how to access the content via the expression language or how I can use an regular expression in this field. Can you please give me the correct configuration for my created payload attribute?

Best regards

Don't have an account?
Coming from Hortonworks? Activate your account here