I am using two indexes.The first, called lessons1 has a userId field:
userId : < id number>
The second is called users1 and has a userName field:
userName: <user name>
and a userId field,
userId: <id number>
When running a query on lessons1, I would like to return the userName intead of the userId.
I have tried to do this by creating a combined index called *1 and do definitions in logstash, but have not succeeded. Could you please help me find a solution.