I have a requirement where I want to fetch more information from another system by calling a REST API with the value of a field (say userid) from the elasticsearch document. I want this to work on Kibana when user search for the document and mouse overs on userid it shows the name of the user which is the result of API.
Is there any way I can call an API from painless script? As I am using AWS ES service, developing new plugin and installing is not an option here. Is that the only option.
Thanks for the help.