Is it possible to compute variables taking the documents from an index as input? I will describe my current situation and my objective.
I have data indexed on an Elasticsearch cluster. My data contains a timestamp and a set of numeric values and identifiers. I'm currently running operations over my data using Python and the Eland library. I perform operations mainly selecting time windows and checking the existence of certain data to compute numeric values. As I run my script and compute my metrics I'm indexing this computed values on a new index on the cluster.
I want to know if it is possible to do something similar using Elasticsearch and/or Kibana. Is it possible to run a script over the data of my index and store the results in a new index. I think about it as a reindexing process, running the computation over the complete index to get the results and store them in a new index.
The ideal case would be to compute my metrics as I index the data in the index. However, I also don't know if it is possible.