# How to add ENVIRONMENT name in APM UI

**URL:** <https://discuss.elastic.co/t/how-to-add-environment-name-in-apm-ui/235737>\
**Category:** APM\
**Tags:** java, rum, server, ui\
**Created:** [June 4, 2020, 11:03am UTC](https://discuss.elastic.co/t/how-to-add-environment-name-in-apm-ui/235737 "2020-06-04T11:03:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pankaj\_Navneet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pankaj_navneet/32/42419_2.png) [@Pankaj\_Navneet](https://discuss.elastic.co/u/Pankaj_Navneet)\
**Post date:** [June 4, 2020, 11:03am UTC](https://discuss.elastic.co/t/how-to-add-environment-name-in-apm-ui/235737/1 "2020-06-04T11:03:25Z")

</div>

Hi team,

I have setup apm-server and apm agents for my java based applications. I have used this [https://www.elastic.co/guide/en/apm/agent/java/current/setup-attach-cli.html](https://www.elastic.co/guide/en/apm/agent/java/current/setup-attach-cli.html)  
method to setup the agent (_apm-agent-attach-1.16.0-standalone.jar_). Logs and metrices are getting published, but I m not seeing the ENVIORMENT name in the APM dashboard.

So please let me know where to find the APM agent congiuration plus how to add the ENVIRONMENT name in the APM dashboard.

Below are the details of my setup.

**Kibana version** : 7.7.0

**Elasticsearch version** : 7.7.0

**APM Server version** : 7.7.0

**APM Agent language and version** : Java and apm-agent-attach-1.16.0-standalone.jar

**Browser version** : Chrome Version 83.0.4103.61

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**: Yum

**Fresh install or upgraded from other version?** : Upgraded from 7.3.2

**Is there anything special in your setup?** No Load balancer used for APM server

Screenshot is attached.

 ![Screenshot 2020-06-04 at 4.25.52 PM](https://us1.discourse-cdn.com/elastic/original/3X/b/4/b4e787f21894378ffbd16041b6e78ca7a8726ba0.png)

---

<div class="post-metadata">

**Author:** ![caue.marcondes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/caue.marcondes/32/61739_2.png) [@caue.marcondes](https://discuss.elastic.co/u/caue.marcondes)\
**Post date:** [June 4, 2020, 11:13am UTC](https://discuss.elastic.co/t/how-to-add-environment-name-in-apm-ui/235737/2 "2020-06-04T11:13:41Z")

</div>

Hi @Pankaj_Navneet,

In this [documentation](https://www.elastic.co/guide/en/apm/agent/java/current/config-core.html#config-environment) you find how you can set up the `environment`

---

<div class="post-metadata">

**Author:** ![Pankaj\_Navneet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pankaj_navneet/32/42419_2.png) [@Pankaj\_Navneet](https://discuss.elastic.co/u/Pankaj_Navneet)\
**Post date:** [June 4, 2020, 11:26am UTC](https://discuss.elastic.co/t/how-to-add-environment-name-in-apm-ui/235737/3 "2020-06-04T11:26:29Z")

</div>

Hi @caue.marcondes

Thanks for your reply.

Can you please let me know the system properties file for JAVA?

Also, is there any specific configuration file which is created when we install the APM Agent JAR file ?

Br  
Pankaj

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [June 4, 2020, 12:39pm UTC](https://discuss.elastic.co/t/how-to-add-environment-name-in-apm-ui/235737/4 "2020-06-04T12:39:58Z")

</div>

This page should answer your questions: [https://www.elastic.co/guide/en/apm/agent/java/current/configuration.html](https://www.elastic.co/guide/en/apm/agent/java/current/configuration.html)

---

<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:** [June 25, 2020, 8:41am UTC](https://discuss.elastic.co/t/how-to-add-environment-name-in-apm-ui/235737/5 "2020-06-25T08:41:10Z")

</div>

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