# Client IP not traced

**URL:** <https://discuss.elastic.co/t/client-ip-not-traced/312159>\
**Category:** APM\
**Tags:** java\
**Created:** [August 16, 2022, 9:47am UTC](https://discuss.elastic.co/t/client-ip-not-traced/312159 "2022-08-16T09:47:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yahire](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yahire/32/104451_2.png) [@yahire](https://discuss.elastic.co/u/yahire)\
**Post date:** [August 16, 2022, 9:47am UTC](https://discuss.elastic.co/t/client-ip-not-traced/312159/1 "2022-08-16T09:47:20Z")

</div>

Hi,  
I had installed the Agent, kibana, elasticsearch versioned 8.2.1.

Observed that the client ip is not getting captured properly as it is visible as :1.

any suggestions?

---

<div class="post-metadata">

**Author:** ![Eyal\_Koren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_koren/32/36830_2.png) [@Eyal\_Koren](https://discuss.elastic.co/u/Eyal_Koren)\
**Post date:** [August 16, 2022, 9:51am UTC](https://discuss.elastic.co/t/client-ip-not-traced/312159/2 "2022-08-16T09:51:52Z")

</div>

Please provide more info.  
Are you referring to Elastic Agent, or Elastic APM Agent?  
Please share a sample document or screenshot showing which field got the wrong value

---

<div class="post-metadata">

**Author:** ![yahire](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yahire/32/104451_2.png) [@yahire](https://discuss.elastic.co/u/yahire)\
**Post date:** [August 16, 2022, 10:10am UTC](https://discuss.elastic.co/t/client-ip-not-traced/312159/3 "2022-08-16T10:10:04Z")

</div>

Hi,

I am using elastic apm agent.  
PFB the screenshot of the transaction details with client.ip as ::1

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/d/7d925e358ba6820dbf25fdf944a7359614a6605c.png)

---

<div class="post-metadata">

**Author:** ![Eyal\_Koren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_koren/32/36830_2.png) [@Eyal\_Koren](https://discuss.elastic.co/u/Eyal_Koren)\
**Post date:** [August 16, 2022, 2:19pm UTC](https://discuss.elastic.co/t/client-ip-not-traced/312159/4 "2022-08-16T14:19:36Z")

</div>

The `client.ip` refers to the source of the request. `::1` indicates that the request traced by this transaction was made from the localhost, wasn't that the case? If not, please provide the following info:

- What type of transaction is this? Is it a `request` type, or other?
- What is the underlying technology used to serve the corresponding request? Is it an HTTP request? If so, what is the technology that handles the request - is it Servlet, Spring MVC, something else? Choose the most relevant one from our [supported technologies page](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html)
- Is there some local rerouting at the host where your application is deployed?
- Check in your logs to see if there's anything interesting logged by the agent

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 6, 2022, 10:20am UTC](https://discuss.elastic.co/t/client-ip-not-traced/312159/5 "2022-09-06T10:20:21Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
