Failing JSON Extractor

Hi Ben
First of all, a huge thanks for helping out on my issue. And even provide a complete example of a pipeline. Much appreciated…

I tried to submit the pipeline action that you have provided, but as a newbie stumbled upon some problems.

There was a few syntax errors. Two I could fix, but this one I’m not sure how to fix:

set_field(timestamp, flex_parse_date(json_fields.time));

I Tried to make timestamp to const string:

set_field(“timestamp”, flex_parse_date(json_fields.time));

But then got error: Expected type “string” for argument value but found object value in call to flex_parse_data etc… Can you hint me to a fix on this one?

Uncommenting that line and testing with raw string Json in message, it gives me an unchanged messages. I cant figure out what I’m doing wrong?

Hope you can guide me here, thanks. //Peter