[Query] Count exist field in elasticsearch

Hi, I have 2 indices which store logs of two events. Now I want to find how many percents user do event A continue do event B so I count userIDs in index A and I want to count userIDs in index B that exist in index A (I don't know). I know in SQL I can join two indices and count but in elastic search, I don't know-how. I searched pipeline Aggregation is that true? Thanks

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