Mapping nginx body_bytes_send with long and '-'

Hi,

How do i map nginx's body_bytes_send field that at times sends '-' and rest of the times a number?

I have tried creating a map type long for this field but it fails when line of logs has "-" in it.
Can I map this field to two different types, if so how do i do it ?
what is the recommended solution ?

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