I want to create an array in the logstash config file that is for devices and then access the array value by for a new field that I am creating. example:
filter {
array_devicetype => ["Cisco ASA", "Cisco 3750"]
mutate {
add_field => { "Device Type" => "%{array_devicetype[0]}"
}
}
Yet, no luck. Can someone help me out with this? Thanks.