Logstash filter might be what you are looking for. There are multiple way but if your data set is small enough, you can look at the elasticsearch input plugin to get the data from the current index then use the logstash filter and output to output data to different indices based city field.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.