Is it possible to join queries

I am new to Kibana.
Is it possible to write relationship query using another node value.
So far I have seen relationship query using hard coded values.
Example: Query document where the userid belongs to another document where the applicationname is test

Hey , this is feature is not possible in elasticsearch
If your only usage is kibana
there is a project named kibi which contains filter-join implementation like you mentioned

If you need joins on your elasticsearch queries (not only for kibana)
you can check my plugin - elasticsearch-sql
which contains some limited join support

or the siren soultions filter-join plugin