# Capture Host name in payload as a impacted entity?

**URL:** <https://community.dynatrace.com/t/capture-host-name-in-payload-as-a-impacted-entity/23034>\
**Category:** Alerting\
**Tags:** problem-detection, hosts-classic\
**Created:** [February 14, 2020, 2:54pm UTC](https://community.dynatrace.com/t/capture-host-name-in-payload-as-a-impacted-entity/23034 "2020-02-14T14:54:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravi\_mr](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@ravi\_mr](https://community.dynatrace.com/u/ravi_mr)\
**Post date:** [February 14, 2020, 2:54pm UTC](https://community.dynatrace.com/t/capture-host-name-in-payload-as-a-impacted-entity/23034/1 "2020-02-14T14:54:59Z")

</div>

HI ,

I have generated a problem ticket for server down and want to capture host name only as impacted entity field in payload .

I am able to capture host name in problemdetails place holder but so many other values are also coming , moogsoft team is finding difficult to pick host name from problemdetails place holder value.

in impacted entity , I am getting below value. no impacted host name.

“ImpactedEntity”: “2 infrastructure problems on 2 Infrastructure components”,

Could anyone please tell me how can I capture only host name in place holder ?

Regards,

Ravi

---

<div class="post-metadata">

**Author:** ![Dallas](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dallas/32/31233_2.png) [@Dallas](https://community.dynatrace.com/u/Dallas)\
**Post date:** [February 14, 2020, 4:05pm UTC](https://community.dynatrace.com/t/capture-host-name-in-payload-as-a-impacted-entity/23034/2 "2020-02-14T16:05:04Z")

</div>

Hi Ravi,

What is the output of {ImpactedEntities}? Looking through the example in the documentation page it looks like this placeholder should have the “entity name” or hostname that you are looking for.

Let me know what the output of this is once you give it a try.

Thanks

-Dallas

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [February 14, 2020, 4:18pm UTC](https://community.dynatrace.com/t/capture-host-name-in-payload-as-a-impacted-entity/23034/3 "2020-02-14T16:18:23Z")

</div>

[@Ravi K.](https://answers.dynatrace.com/users/32422/view.html) We had a similar issue with problem notifications. The problem is that there is no place holder that will always report the host host of the issue. This is evident when a process or service on a host causes a problem card. The best way around this is to create a Custom naming rule for services and processes. We have a published use case that shows a bit of this. I would recommend you review it.

> **[More Effective AI to Human Interactions with Dynatrace Davis Assistant at a...](https://www.dynatrace.com/news/blog/more-effective-ai-to-human-interactions-with-dynatrace-davis/)**
>
> Dynatrace customer, a Large Insurance Company, shares how they have leveraged our AI, DAVIS, to provide a better work environment for their employees.

Let me know if you need any assistance!
