# Host naming rule: host name format to incl. process name

**URL:** <https://community.dynatrace.com/t/host-naming-rule-host-name-format-to-incl-process-name/46931>\
**Category:** Open Q&A\
**Tags:** aws, hosts-classic, kubernetes\
**Created:** [July 31, 2024, 8:46pm UTC](https://community.dynatrace.com/t/host-naming-rule-host-name-format-to-incl-process-name/46931 "2024-07-31T20:46:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [July 31, 2024, 8:46pm UTC](https://community.dynatrace.com/t/host-naming-rule-host-name-format-to-incl-process-name/46931/1 "2024-07-31T20:46:08Z")

</div>

There are a number of EKS hosts that shows up with very random names. Creating a host naming rule using the k8s _node\_group\_name_ removes the very random names, but the result is that all hosts now have the same name e.g., **eks-node-other** , based on the _node\_group\_name_.

If I could use e.g., the process name on each of the nodes and make that part of the host name, that would be helpful. as it would split the 16 hosts into at least four different names - some of the hosts run the same process (workload) and it’s OK for them to have the same name.  
However, I don’t see an option to use process name or something else that is not host related, for the naming rule.

I’m hoping someone has some clever ideas on what I could try to make the host names more unique?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [August 1, 2024, 7:23am UTC](https://community.dynatrace.com/t/host-naming-rule-host-name-format-to-incl-process-name/46931/2 "2024-08-01T07:23:33Z")

</div>

Any chance of using k8s metadata to construct the name?

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [August 7, 2024, 9:40am UTC](https://community.dynatrace.com/t/host-naming-rule-host-name-format-to-incl-process-name/46931/3 "2024-08-07T09:40:40Z")

</div>

Unfortunately, there’s nothing unique in the k8s metadata.  
But, I’ve spoken to the client and they are looking into changing that - at least then I might be able to use the metadata, yes.
