# Span Not showing up

**URL:** <https://discuss.elastic.co/t/span-not-showing-up/282903>\
**Category:** APM\
**Tags:** server\
**Created:** [August 31, 2021, 10:45am UTC](https://discuss.elastic.co/t/span-not-showing-up/282903 "2021-08-31T10:45:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zacksiri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zacksiri/32/29117_2.png) [@zacksiri](https://discuss.elastic.co/u/zacksiri)\
**Post date:** [August 31, 2021, 10:45am UTC](https://discuss.elastic.co/t/span-not-showing-up/282903/1 "2021-08-31T10:45:48Z")

</div>

Hey all

I'm trying to develop a new APM agent using the API. I've tried submitting transaction and it seem to be working. However when I submit the span into the events endpoint for some reason it's not showing up in the elastic analytics apm-spans index.

```auto
{"metadata":{"service":{"name":"station","agent":{"name":"station","version":"1.17.0"}}}}
{"transaction":{"id":"68EEFB81-16B1-4567-A931-DAD8E1D7743C", "name": "Blah", "duration": 33000, "span_count": {"started": 2}, "trace_id": "68EEFB81-16B1-4567-A931-DAD8E1D7743C", "outcome": "success", "type": "ticket"}}
{"span":{"id":"dsdfsfdsfd", "action": "dispatch", "name":"risk-out", "transaction_id": "AF0D325D-7A90-443E-AF68-B0C474F3B118", "parent_id": "AF0D325D-7A90-443E-AF68-B0C474F3B118", "duration": 5000,"trace_id":"AF0D325D-7A90-443E-AF68-B0C474F3B118","outcome": "success","type": "activity", "subtype": "risk", "start": 1630406147}}

```

here is a sample

**Kibana version** : 7.14

**Elasticsearch version** : 7.14

**APM Server version** : 7.14

**Steps to reproduce** :

1. Submit above data into the APM api
2. Get 202
3. No data shown

---

<div class="post-metadata">

**Author:** ![zacksiri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zacksiri/32/29117_2.png) [@zacksiri](https://discuss.elastic.co/u/zacksiri)\
**Post date:** [August 31, 2021, 12:51pm UTC](https://discuss.elastic.co/t/span-not-showing-up/282903/2 "2021-08-31T12:51:27Z")

</div>

I resolved this. I was not using microsecond timestamp. Causing the event to not show up.

---

<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:** [September 21, 2021, 8:52am UTC](https://discuss.elastic.co/t/span-not-showing-up/282903/3 "2021-09-21T08:52:25Z")

</div>

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