Set the value of a field to another field using elastic search processor

i am trying to set a the value of a field to another field.
Like i have a field "date" and "name". i want the set the value of these fields to another field "log"
I am using set processor:
"set": {
"field": "log",
"value": "%{date} %{name}"

this does not work and set s the value of "log" as "%{date} %{name}" instead of the value in "date" and "name".
Is there a way to do this?

1 Like

You're using the wrong syntax. Read this:

1 Like

Thank you very much. I missed that section of the docs.
It works now :slight_smile:

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