Time series data storage

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

Not sure about what you mean but you can index:

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"
  }
}

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