May I ask if anyone has any python code example of your custom command that calls external REST API (NOT Splunk REST API) in the search?
I'd like pull information from the other system by REST based on basic search result. So that when I run the search
xxxx | custom_command field1, the response from the other system REST will be able to be printed out on the results panel.
Thanks in advance!