I'm trying to pass the result of one query to as input field for another query. Please see the below screen shots and help me out.
query1:
index=* sourcetype="prod-ecp-aks-" "bookAppointmentRequest" "Fname" "Lname" | fields data.req.headers.xcorrelationid.
It will return the co-relation id.
query 2:
index=* sourcetype="prod-ecp-aks" "7403cb0a-885d-36ee-0857-fa7e99741bf7" "da_appointment"
It will return the appointments for that co-relation id.
I want to combine these two queries and pass that co-relation id.
Note:- The co-relation id's are more than one sometime, I need appointment id's for all the co-relation id's.
I gone through so many links, tried join, subquery but didn't get expected result. Please help me out.
Thanks.
... View more