AVAYA CDR analyses with ELK

i've modify the ruby code like this, so it created a new row "duration". not sure it's the right way to do it

And now i can filter on duration:0 :s

code => "event['Duration'] = event['Connected_Time'] ? event['Connected_Time'].split(':').inject(0){|a, m| a = a * 60 + m.to_i} : 0" }