Split range of dates


(Peerawuth Srikunupakarn) #1

Can I split from

No.    date           start                end          detail
 1   7/12/2018  7/12/2018  09:00    9/12/2018 14:00   Same detail

to

No.    date           start                end          detail
 1   7/12/2018  7/12/2018  09:00    7/12/2018 23:59   Same detail
 2   8/12/2018  8/12/2018  00:00    8/12/2018 23:59   Same detail
 3   9/12/2018  9/12/2018  00:00    9/12/2018 14:00   Same detail

data from csv file.
Elastic version: 6.2.4


(Magnus B├Ąck) #2

Sure, if you write the code yourself in a ruby filter. There's no stock filter that does exactly this.


(system) #3

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