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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -