# Kibana visualization without aggregation

**URL:** <https://discuss.elastic.co/t/kibana-visualization-without-aggregation/23870>\
**Category:** Kibana\
**Created:** [June 17, 2015, 7:22pm UTC](https://discuss.elastic.co/t/kibana-visualization-without-aggregation/23870 "2015-06-17T19:22:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaitanyavvs](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@chaitanyavvs](https://discuss.elastic.co/u/chaitanyavvs)\
**Post date:** [June 17, 2015, 7:22pm UTC](https://discuss.elastic.co/t/kibana-visualization-without-aggregation/23870/1 "2015-06-17T19:22:21Z")

</div>

Hi ,  
I have a data that is indexed in elasticSearch which is taken from log file through logstash.  
My log file has certain data, like the various steps in a batch process with the associated time taken for each step of the batch process.

For Ex (in the log files) :  
Step : Some Step 1 timeTaken: 1000 secs  
Step : Some Step 2 timeTaken: 2000 secs  
Step : Some Step 3 timeTaken: 3000 secs

I would like to visualize the above data in Kibana either using Line Chart or Pie Chart or Vertical Chart. As far as i can see in Kibana, its all about aggregations. Can we have a simple chart which would visualize my data in the logs

I hope i made myself clear. Please do let me know if otherwise.

Thanks and Regards,  
Chaitanya Varanasi

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [June 18, 2015, 12:06am UTC](https://discuss.elastic.co/t/kibana-visualization-without-aggregation/23870/2 "2015-06-18T00:06:07Z")

</div>

To visualize response time over time, you should parse/index that piece of data a separate numerical field using Logstash prior to operating on it with Kibana. After that, you can use the Visualize tab to build the chart. For instance, to plot response time over time on a Line Chart, you'll need to select average response time field in the Y-axis and to bucket the X-axis using the "Date Histogram" aggregation (see screenshot).

 ![](https://us1.discourse-cdn.com/elastic/original/2X/6/6a65d495b4856cfc98161d7247d3c73e20b21110.png)

---

<div class="post-metadata">

**Author:** ![chaitanyavvs](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@chaitanyavvs](https://discuss.elastic.co/u/chaitanyavvs)\
**Post date:** [June 18, 2015, 3:17pm UTC](https://discuss.elastic.co/t/kibana-visualization-without-aggregation/23870/3 "2015-06-18T15:17:17Z")

</div>

Hi Tanya,  
Thanks a lot for your response. However, the example you have given me (thanks for that) would do an aggregation on the data i have on my log (Average, in the example). However, my logs contains the exact times each individual step takes (Please note that from logstash, i have configured the `timeTaken` field to be a numeric field, which signifies the amount of time in seconds.

I would just need to plot a simple chart which would plot my step (For Ex: Some Step 1, in my example) with the amount of time it took. That way, i could visualize a comparitive study on the each steps of my batch process. Hope i am clear with what i intend to do

Thanks and Regards,  
Chaitanya Varanasi

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [June 18, 2015, 4:48pm UTC](https://discuss.elastic.co/t/kibana-visualization-without-aggregation/23870/4 "2015-06-18T16:48:02Z")

</div>

In that case, if I understand your use case correctly, your steps should be in a numeric field as well, and you should configure "Histogram", field="step", interval=1 on the X-Axis.

---

<div class="post-metadata">

**Author:** ![chaitanyavvs](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@chaitanyavvs](https://discuss.elastic.co/u/chaitanyavvs)\
**Post date:** [June 18, 2015, 4:58pm UTC](https://discuss.elastic.co/t/kibana-visualization-without-aggregation/23870/5 "2015-06-18T16:58:31Z")

</div>

Hi Tanya,  
Thanks a lot for your prompt reply. In order to make things simple, i would want to have the "`Step`", a string, like "Step X" , as the `X-axis` and the `timeTaken` to be on the `Y-axis` . As i can see that the `Y-axis` in Kibana is always an Aggregation function (like max/min/count/average).

I hope i am clear with my explanation and thanks again for your time on this issue.

Thanks and Regards,  
Chaitanya Varanasi

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [June 18, 2015, 5:05pm UTC](https://discuss.elastic.co/t/kibana-visualization-without-aggregation/23870/6 "2015-06-18T17:05:29Z")

</div>

I don't think there is a way to do exactly what you're describing. The closest I can think of is the approach I recommended earlier:

- Y-axis = Avg(timeTaken)
- X-axis = Histogram over numerical step with interval = 1

Perhaps others have more ideas.

---

<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 6, 2017, 2:17pm UTC](https://discuss.elastic.co/t/kibana-visualization-without-aggregation/23870/7 "2017-07-06T14:17:51Z")

</div>


