I have two types of logs shown in kibana
- Response
{"origin":"local","type":"response","correlation":"beb2b44b1cef5623","duration":663,"protocol":"HTTP/1.1","status":200,"headers":{"Content-Type":["application/json;charset=UTF-8"],....... ......... :"success"}}}
- Request
{"origin":"remote","type":"request","correlation":"beb2b44b1cef5623","protocol":"HTTP/1.1","remote":"104.124.54.30","method":"GET"...... ....... ....... }}
NB. The value for 'correlation
' would be unique and same for each request and response
I am able to find slow responses using the 'duration
' term from response. I want to map the correlation term and show the request instead of the response in search results.
How can I achieve the same?