# No service or trace is shown on kibana when using intake api directly

**URL:** <https://discuss.elastic.co/t/no-service-or-trace-is-shown-on-kibana-when-using-intake-api-directly/276861>\
**Category:** APM\
**Tags:** docker, server\
**Created:** [June 24, 2021, 2:26am UTC](https://discuss.elastic.co/t/no-service-or-trace-is-shown-on-kibana-when-using-intake-api-directly/276861 "2021-06-24T02:26:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jodinathan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jodinathan/32/45821_2.png) [@jodinathan](https://discuss.elastic.co/u/jodinathan)\
**Post date:** [June 24, 2021, 2:26am UTC](https://discuss.elastic.co/t/no-service-or-trace-is-shown-on-kibana-when-using-intake-api-directly/276861/1 "2021-06-24T02:26:48Z")

</div>

On a osx using docker and the elk version is 7.13.2.

I am posting some stuff to apm server through [http://localhost:8200/intake/v2/events](http://localhost:8200/intake/v2/events) and the response status is 202, however, I can't find it nowhere in Kibana. Neither in the service or trace list in APM and neither in the discovery of the apm-\* index.

What am I doing wrong? How can I debug it?

Here is the body:

```auto
 {"metadata":{"process":{"pid":81772,"title":"/bin/dart","argv":["--enable-asserts"]},"system":{"architecture":"x86_64","detected_hostname":"joe.local","platform":"Darwin"},"service":{"name":"HyperWebinar API","agent":{"name":"GuaraciObserver","version":"0.0.1"},"environment":"development","language":{"name":"Dart","version":"2.10.5 (stable) (Tue Jan 19 13:05:37 2021 +0100) on \"macos_x64\""},"runtime":{"name":"Dart","version":"2.10.5 (stable) (Tue Jan 19 13:05:37 2021 +0100) on \"macos_x64\""}},"labels":{}}}
{"transaction":{"timestamp":1624500828575408,"duration":393,"name":"GraphQL query","type":"http","id":"103-1624500828575","trace_id":"104-1624500828575","parent_id":null,"span_count":{"started":2},"sampled":true,"sample_rate":1}}
{"span":{"start":0,"name":"Login","duration":87,"type":"database","id":"105-1624500828575","trace_id":"104-1624500828575","parent_id":"103-1624500828575"}}
{"span":{"start":3,"name":"Find in the database","duration":12,"type":"database","id":"106-1624500828579","trace_id":"104-1624500828575","parent_id":"105-1624500828575"}}
{"transaction":{"timestamp":1624500828622557,"duration":38,"name":"Saving object","type":"background","id":"107-1624500828622","trace_id":"104-1624500828575","parent_id":"105-1624500828575","span_count":{"started":0},"sampled":true,"sample_rate":1}}
{"span":{"start":87,"name":"GraphQL exec","duration":304,"type":"database","id":"108-1624500828662","trace_id":"104-1624500828575","parent_id":"103-1624500828575"}}
{"span":{"start":24,"name":"Find in the database","duration":15,"type":"database","id":"109-1624500828686","trace_id":"104-1624500828575","parent_id":"108-1624500828662"}}
{"transaction":{"timestamp":1624500828731863,"duration":217,"name":"GraphQL UpdateMutation","type":"background","id":"110-1624500828731","trace_id":"104-1624500828575","parent_id":"108-1624500828662","span_count":{"started":2},"sampled":true,"sample_rate":1}}
{"transaction":{"timestamp":1624500828843591,"duration":8,"name":"Saving object","type":"background","id":"111-1624500828843","trace_id":"104-1624500828575","parent_id":"110-1624500828731","span_count":{"started":0},"sampled":true,"sample_rate":1}}
{"span":{"start":202,"name":"Find in the database","duration":12,"type":"database","id":"112-1624500828933","trace_id":"104-1624500828575","parent_id":"110-1624500828731"}}
{"span":{"start":286,"name":"Find in the database","duration":10,"type":"database","id":"113-1624500828949","trace_id":"104-1624500828575","parent_id":"108-1624500828662"}}

```

---

<div class="post-metadata">

**Author:** ![simitt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simitt/32/106406_2.png) [@simitt](https://discuss.elastic.co/u/simitt)\
**Post date:** [June 24, 2021, 7:02am UTC](https://discuss.elastic.co/t/no-service-or-trace-is-shown-on-kibana-when-using-intake-api-directly/276861/2 "2021-06-24T07:02:46Z")

</div>

Hi @jodinathan , the payload you shared seems fine, I just sent it to a local APM Server and the service and trace showed up in the UI as expected. Have you checked the APM Server logs for any indicators that it has problems sending the events to Elasticsearch?

---

<div class="post-metadata">

**Author:** ![jodinathan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jodinathan/32/45821_2.png) [@jodinathan](https://discuss.elastic.co/u/jodinathan)\
**Post date:** [June 24, 2021, 4:01pm UTC](https://discuss.elastic.co/t/no-service-or-trace-is-shown-on-kibana-when-using-intake-api-directly/276861/3 "2021-06-24T16:01:27Z")

</div>

yeah, that was the problem.  
thanks

---

<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:** [July 15, 2021, 12:01pm UTC](https://discuss.elastic.co/t/no-service-or-trace-is-shown-on-kibana-when-using-intake-api-directly/276861/4 "2021-07-15T12:01:36Z")

</div>

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