Elasticsearch Top hits aggregation with transform
Suppose you build an application to manage an entity (like Customer, Tickets, ... etc) and you are logging any change on entity into elasticsearch index.
Example of Case Management application that log any change on Ticket into elasticsearch monthly ...
synapticiel.hashnode.dev10 min read
Przemysław Witek
Senior Software Engineer at Elastic
Hi, Recently we've implemented
latestfunction for transforms which should allow you to replacepivotwithlatestand get rid of the scripts in your transform.Check out the overview here and the API example here
Please note that this functionality is currently
betabut it will change soon.