# How to get traces for service which onboarded through dev tools

**URL:** <https://discuss.elastic.co/t/how-to-get-traces-for-service-which-onboarded-through-dev-tools/356577>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [April 2, 2024, 1:00am UTC](https://discuss.elastic.co/t/how-to-get-traces-for-service-which-onboarded-through-dev-tools/356577 "2024-04-02T01:00:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![navya\_k](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/navya_k/32/127091_2.png) [@navya\_k](https://discuss.elastic.co/u/navya_k)\
**Post date:** [April 2, 2024, 1:00am UTC](https://discuss.elastic.co/t/how-to-get-traces-for-service-which-onboarded-through-dev-tools/356577/1 "2024-04-02T01:00:14Z")

</div>

Hello,  
I have tried below lines to get traces for last 1hr.

```auto
GET _search 
{
 "filter":{ 
   "query":{ 
     "range":{ 
        "@timestamp":{ 
            "get: " now -1h"
                                 }
                     }
                 }
              }
   }

```

I need help,  
when I would like to see only for particular service called 1ABC\_javaapp, how can add service name to above code ?

---

<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:** [April 30, 2024, 1:00am UTC](https://discuss.elastic.co/t/how-to-get-traces-for-service-which-onboarded-through-dev-tools/356577/2 "2024-04-30T01:00:32Z")

</div>

Closed on April 30, 2024, 1:00am UTC

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