I have a news gather system(time base searching), which could fit time series index very well.
But I wonder what is the best way to create time-series index. Offcial doc only suggest to using it without how.
There are two ways I consider:
Just insert data let elasticsearch auto create index
- good: No orther script
- bad: but how can I control the mapping?? Docs say mapping is create automaticlly, and it need reindex if I want to change mapping
Use a crontab to auto create time series index with mapping
- good: can create custom mapping
- bad: need another script
As I see
marvel both create time series index, how do they create index ?
It would be very nice If I can auto create index with custom mapping .