elastic / timelion

Timelion was absorbed into Kibana 5. Don't use this. Time series composer for Elasticsearch and beyond.
Other
347 stars 79 forks source link

Fill gaps when no data is available on timeseries #182

Closed toshiro92 closed 8 years ago

toshiro92 commented 8 years ago

Hi !

I have an issue about timeseries on Timelion, I currently have a timeserie like this below:

gaps_timelion

However I wanted to fill gaps between those data, like Kibana already do (even if this is not as readable as in timelion):

no_gaps_kibna

I know that an if statement like .if(eq, null, 0) could be a solution, however I want a continuity between the previous and next data (like Kibana's do). On ElasticSearch forum, it seems to be an inexistent feature, which could be useful.

rashidkpc commented 8 years ago

You can do this with the .fit() function

screen shot 2016-09-09 at 12 03 36 pm

toshiro92 commented 8 years ago

Thanks for the info ! I updated my post on ES too