Search Trend with ElasticSearch API

Does ElasticSearch provide any API which gives the trend of the searched items.
For example : top 10 recently searched items, top 10 most searched items?
Please can anybody help me on this?
I have been looking into top hits aggregator but this doesn't give me the trend for a period of time.

No. This is something you need to collect yourself then index in a dedicated index and use it in aggs then.

Thank you @dadoonet. Does logstash help me to achieve my requirement? Any inputs please ?

No it won't help

Thank you..

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