Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Getting Source IP Within Groovy

I have a script that posts Confluence PageViews to splunk (and other engines) :

But I would also like to get more info, most of all Source IP for the request - it that possible, to get hold of that from the Event?

I tried (long time ago):

//HttpServletRequest request = ServletActionContext.getRequest();
//String ipAddress = request.getRemoteAddr();


Did not work. Who do I get hold of this/these properties...





0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

179 views 1 6
Read article

Atlassian Community Events