Hello,
I have a simple question on arrays coming into Logstash.
Lets say I have this example:
Field | Value |
data.root | [true, false] |
This is expected behavior.
What I want to do:
Copy the first value of data root to a new field, how would I do it?
I tried to do mutate filter:
mutate {
copy => { "[data][root][0]" => "[data][first]"}
}
But it's not working, I assume I am not identifying it correctly?