# How to define service from Requests to unmonitored hosts

**URL:** <https://community.dynatrace.com/t/how-to-define-service-from-requests-to-unmonitored-hosts/12122>\
**Category:** Open Q&A\
**Tags:** services-classic, hosts-classic\
**Created:** [May 28, 2018, 5:03am UTC](https://community.dynatrace.com/t/how-to-define-service-from-requests-to-unmonitored-hosts/12122 "2018-05-28T05:03:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrew\_macdona2](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@andrew\_macdona2](https://community.dynatrace.com/u/andrew_macdona2)\
**Post date:** [May 28, 2018, 5:03am UTC](https://community.dynatrace.com/t/how-to-define-service-from-requests-to-unmonitored-hosts/12122/1 "2018-05-28T05:03:13Z")

</div>

I have a service I am monitoring which makes a web service call. The web service call is being picked up by “Requests to unmonitored hosts” under Transactions & Services. I want to create a service for these calls. The following post shows how to do this for a certain IP address and port number but not for this specific case using either a domain or URL to define the service.  
[https://community.dynatrace.com/spaces/482/dynatrace…](https://community.dynatrace.com/spaces/482/dynatrace-open-qa/questions/196355/simple-how-to-for-making-calls-to-unmonitored-host.html)

---

<div class="post-metadata">

**Author:** ![nj\_njoku](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nj_njoku/32/13710_2.png) [@nj\_njoku](https://community.dynatrace.com/u/nj_njoku)\
**Post date:** [May 29, 2018, 12:30am UTC](https://community.dynatrace.com/t/how-to-define-service-from-requests-to-unmonitored-hosts/12122/2 "2018-05-29T00:30:29Z")

</div>

Hi Andrew,

The post you referenced shows how to do this via a custom device which only lasts for 72 hours i.e. you will need to make this POST request to update the custom device every 72 hours. I have heard there are plans to add this feature to the product in the near future where once this is setup, it will remain permanent. For your use case to use a URL rather than IP, have you tried passing the URL into the **configURL** parameter to create the custom device to see if that works? Please see [link](https://www.dynatrace.com/support/help/shortlink/api-custom-metrics#usage-of-custom-metric) on how to set this up and let me know if it works for you.

Thanks

NJ

---

<div class="post-metadata">

**Author:** ![andrew\_macdona2](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@andrew\_macdona2](https://community.dynatrace.com/u/andrew_macdona2)\
**Post date:** [May 30, 2018, 3:33am UTC](https://community.dynatrace.com/t/how-to-define-service-from-requests-to-unmonitored-hosts/12122/3 "2018-05-30T03:33:46Z")

</div>

Hi

I have tried a number of different combinations for parameters but no luck for getting a service showing. It may be that I need to wait until this feature is added.

Thanks

Andrew

---

<div class="post-metadata">

**Author:** ![Dant3](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dant3/32/159_2.png) [@Dant3](https://community.dynatrace.com/u/Dant3)\
**Post date:** [September 11, 2018, 2:40pm UTC](https://community.dynatrace.com/t/how-to-define-service-from-requests-to-unmonitored-hosts/12122/4 "2018-09-11T14:40:06Z")

</div>

Hi Andrew! did you managed yo find a way to create the services or are you waiting in for the RFE?

---

<div class="post-metadata">

**Author:** ![lawrence\_cuneaz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/lawrence_cuneaz/32/1053_2.png) [@lawrence\_cuneaz](https://community.dynatrace.com/u/lawrence_cuneaz)\
**Post date:** [January 17, 2022, 6:12pm UTC](https://community.dynatrace.com/t/how-to-define-service-from-requests-to-unmonitored-hosts/12122/5 "2022-01-17T18:12:03Z")

</div>

Hi Andrew and anyone else who finds this thread,

In 2019, the Service Detection API was enhanced to allow for this and many other flexible ways of detecting services. To create separate services from the “Requests to unmonitored hosts”&nbsp;you will need to use the service detection API.

> **[Separate services for “unmonitored hosts” based on hostname or IP range - New...](https://www.dynatrace.com/news/blog/new-dynatrace-api-enhances-automatic-service-detection/#unmonitored)**
>
> Dynatrace automatically detects all deployed applications that are monitored by OneAgent. It does so by analyzing the running processes, identifying which application each process supports, and subsequently mapping the processes to what we call a...

 ![lawrence_cuneaz_0-1642436304369.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/5/3587562be0a11e304a8b645c9c73ff447dd39a82.png)

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 18, 2022, 9:06am UTC](https://community.dynatrace.com/t/how-to-define-service-from-requests-to-unmonitored-hosts/12122/6 "2022-01-18T09:06:13Z")

</div>

Hello&nbsp;[@lawrence\_cuneaz](https://community.dynatrace.com/user/8628)

Thank you for reminding/waking me up&nbsp;😀

I just applied configuration.

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![lawrence\_cuneaz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/lawrence_cuneaz/32/1053_2.png) [@lawrence\_cuneaz](https://community.dynatrace.com/u/lawrence_cuneaz)\
**Post date:** [March 14, 2022, 10:18pm UTC](https://community.dynatrace.com/t/how-to-define-service-from-requests-to-unmonitored-hosts/12122/7 "2022-03-14T22:18:08Z")

</div>

My pleasure&nbsp;👍

---

<div class="post-metadata">

**Author:** ![ben\_wrightson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ben_wrightson/32/34776_2.png) [@ben\_wrightson](https://community.dynatrace.com/u/ben_wrightson)\
**Post date:** [March 27, 2024, 11:16am UTC](https://community.dynatrace.com/t/how-to-define-service-from-requests-to-unmonitored-hosts/12122/8 "2024-03-27T11:16:05Z")

</div>

And that API has since become available in the UI under “Service Detection”: [Configure service detection rules in Service Detection v1 — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/rule-based-service-detection)
