How to split index by the value of field

Hi,I have an index which contains one of the field named ‘function’, and I want to split the existing index into small indices by the value of the field ‘function’. For example: new index named 'functionA' contains all the details about the functionA. How can I type my code in the dev tool of Kibana? Looking forwarding to your reply.Thanks!

How many functions do you have/expect to have? Why are you looking to do this? Be aware that having large numbers of small indices and shards in Elasticsearch is quite inefficient.

Hi,I have 5 functions in total,MAYBE functionA, functionB, functionC, functionD, functionE. I am aware about the efficiency problem, and I really want to try. Could you please give me some suggestion on this issue? Looking forward to your reply! THANKS!

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