# Visualization in timeline format

**URL:** <https://discuss.elastic.co/t/visualization-in-timeline-format/334448>\
**Category:** Kibana\
**Tags:** visualisation\
**Created:** [May 26, 2023, 3:23pm UTC](https://discuss.elastic.co/t/visualization-in-timeline-format/334448 "2023-05-26T15:23:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [June 1, 2023, 4:51pm UTC](https://discuss.elastic.co/t/visualization-in-timeline-format/334448/2 "2023-06-01T16:51:09Z")

</div>

I don't think you can do that directly at this moment. With logstash you can process your documents to generate new data with the start and end times. Check this other thread

> [@Show cumulative duration between start / stop events](https://discuss.elastic.co/t/show-cumulative-duration-between-start-stop-events/54198):
>
> Hello, I am logging firewall events and see a process start and stop throughout the day. I want to show for how much of the day the process was running, by the cumulative sum of: @timestamp (end\_event) - @timestamp (start\_event) Is this possible in Kibana? Thank you.

The elapsed filter for logstash is suggested as the correct tool for this task

> **[Elapsed filter plugin | Logstash Reference \[8.11\] | Elastic](https://www.elastic.co/guide/en/logstash/current/plugins-filters-elapsed.html)**

Then once you have individual documents with start/end properties you can use the Vega visualization type and ranged bar masks as in this example:

> **[Gantt Chart (Ranged Bar Marks)](https://vega.github.io/vega-lite/examples/bar_gantt.html)**
>
> A simple bar chart with ranged data (aka Gantt Chart).

I understand is not a great answer, maybe there's a more straight forward path.

---

_[View the full topic](https://discuss.elastic.co/t/visualization-in-timeline-format/334448)._
