# Showing TPS on line visulaize

**URL:** <https://discuss.elastic.co/t/showing-tps-on-line-visulaize/286898>\
**Category:** Kibana\
**Created:** [October 16, 2021, 4:58pm UTC](https://discuss.elastic.co/t/showing-tps-on-line-visulaize/286898 "2021-10-16T16:58:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sahere37](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sahere37](https://discuss.elastic.co/u/sahere37)\
**Post date:** [October 16, 2021, 4:58pm UTC](https://discuss.elastic.co/t/showing-tps-on-line-visulaize/286898/1 "2021-10-16T16:58:41Z")

</div>

Hi all,  
In the kibana version 6.5.4, we can create a line visualize which shows tps (count per second) using following setting, so that by choosing any time rang, it shows the same tps value:

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

But, in the kibana version 7.13.1, the output is not same as version 6.5.4, so that choosing different time rage ( for example 15 minute ago or 1 hour ago and so on) leads to different value of tps:

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

In addition, setting 1s in json field leads to following message

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

Could you please advise me in order to build a visualize which shows the correct tps value in any time range?

---

<div class="post-metadata">

**Author:** ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)\
**Post date:** [October 20, 2021, 8:26am UTC](https://discuss.elastic.co/t/showing-tps-on-line-visulaize/286898/2 "2021-10-20T08:26:39Z")

</div>

Hi @sahere37 ,

In Kibana, you can only define minimum interval - most of the time it works fine for the timeranges chosen, but not always. So for example, if your timerange is 1 hour, and you've defined minimum interval of 1s, you will get 3600 buckets of data. If you have timerange of 1 month, you would get over 2 million buckets if the interval is precise. This is a performance issue for ES and kibana and that's why the interval used will be much bigger than the minimum, to not create so many buckets.

However, if what interests you is the actual speed of data/timeunit, you can use Lens visualization with `Normalize by unit` setting. That would give you the 'speed' of your data per chosen unit and doesn't depend on the chosen/calculated interval. Let me know if that helps!

 ![Screenshot 2021-10-20 at 10.26.01](https://us1.discourse-cdn.com/elastic/original/3X/8/0/80f4c0e3bf24ca61626bdc9a24ddcf7ced3aa05d.png)

 ![Screenshot 2021-10-20 at 10.26.10](https://us1.discourse-cdn.com/elastic/original/3X/3/5/3521efef9d75633b7cb753c8b260d374f8767594.png)

 ![Screenshot 2021-10-20 at 10.26.20](https://us1.discourse-cdn.com/elastic/original/3X/e/0/e0aadfa4a9e4d9a8746744d50279c53169809ae7.png)

---

<div class="post-metadata">

**Author:** ![sahere37](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sahere37](https://discuss.elastic.co/u/sahere37)\
**Post date:** [November 1, 2021, 5:22am UTC](https://discuss.elastic.co/t/showing-tps-on-line-visulaize/286898/3 "2021-11-01T05:22:41Z")

</div>

Many 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:** [November 29, 2021, 5:22am UTC](https://discuss.elastic.co/t/showing-tps-on-line-visulaize/286898/4 "2021-11-29T05:22:43Z")

</div>

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