sumologic - Can't divide field by number in Sumo Logic -
i have sumo logic query i'm taking numeric field , summing it, fields value milliseconds want divide field 1000
number seconds.
parse "downloadduration=*," downloadtime | sum(downloadtime / 1000) totaldownloadtime
but sumologic gives me error: parse error: ')' expected '/' found.
when try (even though help docs seem suggest totally legit.
i had add parse
statement alter fields value.
parse "downloadduration=*," downloadtime | (downloadtime / 1000) downloadtime | sum(downloadtime) totaldownloadtime
works perfectly!
Comments
Post a Comment