I have been exploring elastic search and kibana. Simple aggregations are working fine.
I am stuck at plotting the below scenario
I have a document with 3 fields as below and some sample entries
processId , process version, modifiedDatetime
1, 0, 2018-01-01
1, 1, 2018-01-02
2,. 0, 2018-01-01
I need to plot a vertical graph where in i have to count process every day but it should count only max version
So in this case for 2018-01-01 it should only give me count as 1 (event though there are 2 entries it should count only the latest version)
I tried applying filter but have not been successfull
Any thing that can be done here ?