# Can I create timeline chart in Kibana?

**URL:** <https://discuss.elastic.co/t/can-i-create-timeline-chart-in-kibana/323301>\
**Category:** Kibana\
**Created:** [January 17, 2023, 8:29am UTC](https://discuss.elastic.co/t/can-i-create-timeline-chart-in-kibana/323301 "2023-01-17T08:29:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kamil\_BdBelfort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kamil_bdbelfort/32/113367_2.png) [@Kamil\_BdBelfort](https://discuss.elastic.co/u/Kamil_BdBelfort)\
**Post date:** [January 17, 2023, 8:29am UTC](https://discuss.elastic.co/t/can-i-create-timeline-chart-in-kibana/323301/1 "2023-01-17T08:29:33Z")

</div>

Hi all,

I would like to create a timeline chart.  
I have projects that have start-date and end-date values that I would like to visualize.  
I've been struggling to find a solution for a while now.

My data looks like this approx.:

```auto
{
  "description": [
    "project"
  ],
  "description.keyword": [
    "project"
  ],
  "id": [
    "28aac9f41e9d2178393ccac103b0cb9c76ea54f196f58c42c82f4492757358f0"
  ],
  "metadata.properties.Project": [
    "Some name"
  ],
  "metadata.properties.Project.keyword": [
    "Some name"
  ],
  "metadata.properties.StartDate": [
    "2022-10-24T00:00:00.000Z"
  ],
  "metadata.properties.EndDate": [
    "2022-12-31T00:00:00.000Z"
  ],
  "metadata.properties.Client": [
    "Client name"
  ],
  "metadata.properties.Client.keyword": [
    "Client name"
  ],
  "metadata.properties.BillableAmount": [
    5500
  ],
  "metadata.properties.BillableHours": [
    37
  ],
  "metadata.properties.Budget": [
    325
  ],
  "metadata.properties.BudgetBy": [
    "Hours"
  ],
  "metadata.properties.BudgetBy.keyword": [
    "Hours"
  ],
  "metadata.properties.BudgetRemaining": [
    275
  ],
  "metadata.properties.BudgetSpent": [
    25
  ],
  "metadata.properties.ProjectCode": [
    "3400001043"
  ],
  "metadata.properties.ProjectCode.keyword": [
    "3400001043"
  ],
  "metadata.properties.ProjectID": [
    "0575e4e776897f36a7d1a70ed2c37df1eae4b348289013d9cce31b854c3e008d"
  ],
  "metadata.properties.ProjectID.keyword": [
    "0575e4e776897f36a7d1a70ed2c37df1eae4b348289013d9cce31b854c3e008d"
  ],
  "metadata.properties.TotalHours": [
    40
  ],
  "name": [
    "Some name"
  ],
  "name.keyword": [
    "Some name"
  ],
  "name.length": [
    9
  ],
  "source": [
    "Test Source"
  ],
  "_id": "28aac9f41e9d2178393ccac103b0cb9c76ea54f196f58c42c82f4492757358f0",
  "_index": "insights_default_xod",
  "_score": 0
}

```

The only values I care for are: metadata.properties: Project, StartDate, EndDate.  
Does anyone has any ideas how I can do this?

Thank you in advance for reading and any suggestions.  
Kamil

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [January 17, 2023, 10:07am UTC](https://discuss.elastic.co/t/can-i-create-timeline-chart-in-kibana/323301/2 "2023-01-17T10:07:10Z")

</div>

Hi @Kamil_BdBelfort

I think the best way to achieve that would be to use Vega.  
A typical representation of such data is usually a Gantt chart. Here you can find a Vega configuration on how to build one: [Gantt chart on Kibana using version 7.11 - #3 by bab](https://discuss.elastic.co/t/gantt-chart-on-kibana-using-version-7-11/265917/3)

---

<div class="post-metadata">

**Author:** ![Kamil\_BdBelfort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kamil_bdbelfort/32/113367_2.png) [@Kamil\_BdBelfort](https://discuss.elastic.co/u/Kamil_BdBelfort)\
**Post date:** [January 17, 2023, 12:20pm UTC](https://discuss.elastic.co/t/can-i-create-timeline-chart-in-kibana/323301/3 "2023-01-17T12:20:35Z")

</div>

I was trying Vega indeed before, and I've posted a question on that previously, but received no replies. I will have a look into this link. Thanks

---

<div class="post-metadata">

**Author:** ![Kamil\_BdBelfort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kamil_bdbelfort/32/113367_2.png) [@Kamil\_BdBelfort](https://discuss.elastic.co/u/Kamil_BdBelfort)\
**Post date:** [January 17, 2023, 1:59pm UTC](https://discuss.elastic.co/t/can-i-create-timeline-chart-in-kibana/323301/4 "2023-01-17T13:59:04Z")

</div>

Hi @Marco_Liberati,  
I have followed you example, from the link [Gantt chart on Kibana using version 7.11 - #3 by bab](https://discuss.elastic.co/t/gantt-chart-on-kibana-using-version-7-11/265917/3) .

I have modified the fields accordingly (see screenshot below):

 ![kibana error](https://us1.discourse-cdn.com/elastic/original/3X/9/e/9e1e813c6ca07f6913646b14031ad5d71662d4a6.png)

Unfortunately I get 'Infinite extent for field' error for both StartDate and EndDate.  
Do you have any idea why? I am of course looking into debugging this on my own in the meantime.

If successful, I will share the solution.

With regards,  
Kamil

---

<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:** [February 14, 2023, 1:59pm UTC](https://discuss.elastic.co/t/can-i-create-timeline-chart-in-kibana/323301/5 "2023-02-14T13:59:31Z")

</div>

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