Travis Depuy
I have an integration agent service that is receiving http post requests, but I want to inspect the remote IP address. How can I get this?
0
Comments
Please sign in to leave a comment.
I don't know the answer, but if you figure out the remote IP variable please share.
Also, I'm intrigued, what's the use case for this?
See this post:
https://support.xmatters.com/hc/en-us/articles/202355185-Getting-the-Remote-IP-address-in-IA-scripts
We were looking at doing some whitelisting based on IP address so we could only allow certain IPs to submit events to the IA. This code ended up in the New Relic integration found here:
https://support.xmatters.com/hc/en-us/articles/201486319-xMatters-New-Relic-integration-v1-1