when to use elastic search or kinesis?
They are two different technology use cases.
Elastic Search is a service that lets you search/report/visualize a set of data.
Kinesis is a streaming data service. This would act as an intermediary between the source data (ie your mobile app that generates data such a click data) and a destination (such as but not limited to Elastic Search)