Support Questions
Find answers, ask questions, and share your expertise

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