Mutate object field

Hello,

I am trying to mutate an object field (JSON object) using the add_field to rename it, after this has been applied, the new field looks like this

{message=1},{message=2},{message=3},{message=4} - in one line

Pre-mutation the field looked like this
{
"message": "1"
}
{
"message": "2"
}
{
"message": "3"
}
{
"message": "4"
}

How can I keep the format the same as the one in the original field?

The field initially is presented in kibana as "?" after mutate applies it is converted to "t" for text, which may be the cause of this format change?

Thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.