# Show graph on Number of Lines instead of Number of Bytes

**URL:** <https://discuss.elastic.co/t/show-graph-on-number-of-lines-instead-of-number-of-bytes/263939>\
**Category:** Kibana\
**Created:** [February 10, 2021, 10:41pm UTC](https://discuss.elastic.co/t/show-graph-on-number-of-lines-instead-of-number-of-bytes/263939 "2021-02-10T22:41:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![homius](https://avatars.discourse-cdn.com/v4/letter/h/a9adbd/32.png) [@homius](https://discuss.elastic.co/u/homius)\
**Post date:** [February 10, 2021, 10:41pm UTC](https://discuss.elastic.co/t/show-graph-on-number-of-lines-instead-of-number-of-bytes/263939/1 "2021-02-10T22:41:17Z")

</div>

Hi All, I am totally new in Kibana so my question might be dumb. In my Kibana Dashboard I see graph of my http requests/responses (Users, Total Processed, Request Rate,...). It also shows "Processed Prediction Bytes". How can I create those graphs not based on number of Bytes but number of Lines per content? It shows my " **request\_length"** but I want to know number of lines per request.

Thanks

---

<div class="post-metadata">

**Author:** ![dosant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dosant/32/64489_2.png) [@dosant](https://discuss.elastic.co/u/dosant)\
**Post date:** [February 11, 2021, 1:14pm UTC](https://discuss.elastic.co/t/show-graph-on-number-of-lines-instead-of-number-of-bytes/263939/2 "2021-02-11T13:14:43Z")

</div>

Hi @homius,

The best probably would be to ingest your data into Elasticsearch so it had `number_of_lines` property along with `request_length` and then use it to build your visualizations.

If you can't change how you index your data, then you could try [Kibana's Scripted fields](https://www.elastic.co/guide/en/kibana/current/scripted-fields.html)

---

<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 11, 2021, 1:15pm UTC](https://discuss.elastic.co/t/show-graph-on-number-of-lines-instead-of-number-of-bytes/263939/3 "2021-03-11T13:15:03Z")

</div>

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