Get user IP address

Is it possible to get the IP of the user who performed a deployment or executed a runbook?

Hi Daniel,

Thanks for getting in touch! Octopus only records the individual IP address for an action/request on the server while Trace logging is enabled for the Octopus server logs.

The Audit logs records the user and method for any actions or changes such as deploying a runbook. Since the Octopus portal is built on top of an API, the Audit logs will record the User/API-Key used to perform any action.

So unfortunately, unless your Octopus.Server.exe.nlog file was configured for Trace level logging, the IP address will not have been recorded for the event.

If you have any questions at all here, please don’t hesitate to let me know.

Best regards,
Daniel