# Time series data storage

**URL:** <https://discuss.elastic.co/t/time-series-data-storage/154650>\
**Category:** Elasticsearch\
**Created:** [October 30, 2018, 12:09pm UTC](https://discuss.elastic.co/t/time-series-data-storage/154650 "2018-10-30T12:09:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![erkant](https://avatars.discourse-cdn.com/v4/letter/e/bcef8e/32.png) [@erkant](https://discuss.elastic.co/u/erkant)\
**Post date:** [October 30, 2018, 12:09pm UTC](https://discuss.elastic.co/t/time-series-data-storage/154650/1 "2018-10-30T12:09:12Z")

</div>

hi, i want time series data storage in elasticsearch.

for example;

> Blockquote  
> {  
> "myID": "124124-1241rf12-3123",  
> "date": [  
> {  
> "datestamp": "October 30th 2018, 14:00:10.255",  
> "lessons": {  
> "lessonid": "1",  
> "name": "math"  
> }  
> },  
> {  
> "datestamp": "October 30th 2018, 14:30:10.255",  
> "lessons": {  
> "lessonid": "2",  
> "name": "comp"  
> }  
> }  
> ],  
> }  
> so, How do I add time-series operations. Is there any road map?  
> ty for help

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 30, 2018, 1:23pm UTC](https://discuss.elastic.co/t/time-series-data-storage/154650/2 "2018-10-30T13:23:14Z")

</div>

Not sure about what you mean but you can index:

```auto
POST lessons/_doc
{
  "myID": "124124-1241rf12-3123",
  "datestamp": "October 30th 2018, 14:00:10.255",
  "lessons": {
    "lessonid": "1",
    "name": "math"
  }
}
POST lessons/_doc
{
  "myID": "124124-1241rf12-3123",
  "datestamp": "October 30th 2018, 14:30:10.255",
  "lessons": {
    "lessonid": "2",
    "name": "comp"
  }
}

```

---

<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 27, 2018, 1:23pm UTC](https://discuss.elastic.co/t/time-series-data-storage/154650/3 "2018-11-27T13:23:20Z")

</div>

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