How to convert the array elements to lowercase using logstash

I have an array field in my elasticsearch document.

Array = ["German", "Spanish" , "English"]

I want to convert it to below format

Array = ["greman", "spanish", "english" ]

How can I convert the array content to lowercase while reindexing using Logstash?

Thanks in advance

mutate { lowercase => [ "Array" ] }

results in

     "Array" => [
    [0] "german",
    [1] "spanish",
    [2] "english"

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