# Unable to display host name or IP after sending alerts in slack

**URL:** <https://forum.opensearch.org/t/unable-to-display-host-name-or-ip-after-sending-alerts-in-slack/2333>\
**Category:** Alerting\
**Created:** [March 3, 2020, 6:32pm UTC](https://forum.opensearch.org/t/unable-to-display-host-name-or-ip-after-sending-alerts-in-slack/2333 "2020-03-03T18:32:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krishnaprateek6](https://avatars.discourse-cdn.com/v4/letter/k/57b2e6/32.png) [@Krishnaprateek6](https://forum.opensearch.org/u/Krishnaprateek6)\
**Post date:** [March 3, 2020, 6:32pm UTC](https://forum.opensearch.org/t/unable-to-display-host-name-or-ip-after-sending-alerts-in-slack/2333/1 "2020-03-03T18:32:49Z")

</div>

I have configured open distro with ELK stack and did run some alerting rules to send alerts to slack channel but when it sends alerts, under triggers i tried to give Host: {{\_source.host.name}} to display even the host IP or name inslack so we know on which host the alert has been triggered when we look into slack but message preview under tirggers doesnt show up IP and i have to manually give the IP to the message for displaying on slack is there a work around and in kibana discover i checked host.name : “ip address” does exist

---

<div class="post-metadata">

**Author:** ![Serge](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@Serge](https://forum.opensearch.org/u/Serge)\
**Post date:** [March 6, 2020, 10:41am UTC](https://forum.opensearch.org/t/unable-to-display-host-name-or-ip-after-sending-alerts-in-slack/2333/2 "2020-03-06T10:41:16Z")

</div>

Dear Krishnaprateek6  
Can you please show your trigger message block?
