# Transaction duration in micro seconds

**URL:** <https://discuss.elastic.co/t/transaction-duration-in-micro-seconds/220713>\
**Category:** APM\
**Created:** [February 24, 2020, 7:05pm UTC](https://discuss.elastic.co/t/transaction-duration-in-micro-seconds/220713 "2020-02-24T19:05:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anjana1](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@anjana1](https://discuss.elastic.co/u/anjana1)\
**Post date:** [February 24, 2020, 7:05pm UTC](https://discuss.elastic.co/t/transaction-duration-in-micro-seconds/220713/1 "2020-02-24T19:05:50Z")

</div>

**Kibana version** : 7.6

**Elasticsearch version** : 7.6

**APM Server version** : 7.3.2

**APM Agent language and version** : java 1.9.0

**Fresh install or upgraded from other version?** fresh install

**Is there anything special in your setup?** For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc. :-----No

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)** :

**Steps to reproduce** :

Is there any way we can show the duration in the graphs in seconds or milliseconds. Because my dashboard gets too cluttered and there are like too many numbers in the duration.

As shown on the image below the Y axis has too many digits . How can I show it in smaller numbers instead of micro seconds

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/d/2dd75087c097f153992ba771916843973adaa133.png)

---

<div class="post-metadata">

**Author:** ![gil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gil/32/41911_2.png) [@gil](https://discuss.elastic.co/u/gil)\
**Post date:** [February 25, 2020, 6:57pm UTC](https://discuss.elastic.co/t/transaction-duration-in-micro-seconds/220713/2 "2020-02-25T18:57:19Z")

</div>

In the bar chart JSON input add; `{ "script" : "doc['transaction.duration.us'].value / 1000" }` to display values in milliseconds like:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/d/8d7433e0d75fac810d9d3cfd11f90f29aa4a7a38.png)

---

<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:** [March 17, 2020, 2:57pm UTC](https://discuss.elastic.co/t/transaction-duration-in-micro-seconds/220713/3 "2020-03-17T14:57:33Z")

</div>

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