I am trying to merge the field "username" from one source (xx.xxx.xx.xx) with the field "user" from a different source (yy.yyy.yyy.yyy). I want to merge them into a new field called "User".
Example Logs:
[USERNAME= johndoe] [SOURCE=xx.xxx.xx.1]
user="janedoe" source=yy.yyy.yyy.111
I have tried adding a new field and deleting the "username" and "user" fields, but no luck. All it returns is
"User" => "%{USERNAME} janedoe"
or
"User" => "%{USERNAME} %{user}"
Conf File:
Any help is highly appreciated!!!