# IP Mapping addresses to locations

**URL:** <https://community.dynatrace.com/t/ip-mapping-addresses-to-locations/40664>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, user-sessions\
**Created:** [July 12, 2023, 3:39pm UTC](https://community.dynatrace.com/t/ip-mapping-addresses-to-locations/40664 "2023-07-12T15:39:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SOBE](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@SOBE](https://community.dynatrace.com/u/SOBE)\
**Post date:** [July 12, 2023, 3:39pm UTC](https://community.dynatrace.com/t/ip-mapping-addresses-to-locations/40664/1 "2023-07-12T15:39:38Z")

</div>

Hello,

I used to upload a CSV file mapping IPs to locations on Dynatrace, but I can’t find a way to do that anymore.

there is only the JSON option via API and it’s really complicated for someone who does not have coding skills like me to convert an Excel to the exact JSON format that Dynatrace supports.

is there another way to do so?

does anyone have an example or a script that converts Excel files to that specific JSON format required in the API?

PS : I tried the standard conversions online (EXCEL to JSON) but it does not output the same format required by Dynatrace and it’s not possible for me to manually adapt it because I have more than 600 locations to MAP)

Thanks

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [July 12, 2023, 9:39pm UTC](https://community.dynatrace.com/t/ip-mapping-addresses-to-locations/40664/2 "2023-07-12T21:39:37Z")

</div>

Hi,

I do not see a way to do it without coding skills. You can raise a raise a product idea.

I would recommend export from Excel to CSV. It would be plain text, more portable than Windows Office suite, and maybe, already some tool exists from CSV to JSON.

Best regards

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [July 12, 2023, 10:49pm UTC](https://community.dynatrace.com/t/ip-mapping-addresses-to-locations/40664/3 "2023-07-12T22:49:14Z")

</div>

[@SOBE](https://community.dynatrace.com/user/63104),

Yes, it was there in the past, but replaced by the API. There was even a Product Idea that gathered quite a few Kudo’s, but it’s not planned:  
[https://community.dynatrace.com/t5/Product-ideas/Import-geographic-regions-from-CSV-file-option-was-replaced-with/idi-p/187596](https://community.dynatrace.com/post/187596)

---

<div class="post-metadata">

**Author:** ![SOBE](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@SOBE](https://community.dynatrace.com/u/SOBE)\
**Post date:** [July 13, 2023, 7:56am UTC](https://community.dynatrace.com/t/ip-mapping-addresses-to-locations/40664/4 "2023-07-13T07:56:34Z")

</div>

[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp; &nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)&nbsp;that’s too bad.

i don’t understand though why remove a feature that was very helpful and easier and make a more complicated one.

i mean it’s like they want to make it complicated LOL

anyways, thanks for the answers, i’ll see what i can do

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [July 13, 2023, 11:33am UTC](https://community.dynatrace.com/t/ip-mapping-addresses-to-locations/40664/5 "2023-07-13T11:33:25Z")

</div>

Hi,

Other work arround without coding skills is using some text editor with macros capabilites as Emacs, Vim, Notepad++ where you can record key pressed in your keyboard and execute it.

If you do not use Emacs or Vim, maybe, Notepad++ or other editor with macros support would be useful to translate from CSV to JSON.

Best regards

---

<div class="post-metadata">

**Author:** ![SOBE](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@SOBE](https://community.dynatrace.com/u/SOBE)\
**Post date:** [July 13, 2023, 1:55pm UTC](https://community.dynatrace.com/t/ip-mapping-addresses-to-locations/40664/6 "2023-07-13T13:55:58Z")

</div>

Interesting, i’ll definetly check that !

Thanks for the suggestion !
