Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

issues with analytics filters

Not applicable

Hi ,

we tried to use filter condition as filter=(message_count eq 30) and with select=sum(message_count), but we are getting null data .

API call thats made by the edge UI are ,

1) Without filter condition , select condition as sum(message_count)

/stats/apiproxy?_optimized=js&accuracy=100&limit=14400&select=sum(message_count)&sort=DESC&sortby=sum(message_count)&timeRange=06%2F14%2F2016+00:00:00~06%2F21%2F2016+00:00:00&timeUnit=hour&tsAscending=true&tzo=330

the graph shows that for a particular proxy sum of traffic is 30.

2) With filter condition as (message_count eq 30) and select as sum(message_count)

/stats/apiproxy?_optimized=js&accuracy=100&filter=(message_count+eq+30)&limit=14400&realtime=true&select=sum(message_count)&sort=DESC&sortby=sum(message_count)&timeRange=06%2F17%2F2016+13:23:00~06%2F17%2F2016+13:33:00&timeUnit=minute&tsAscending=true&tzo=330

this shows the null data in graph.

Can u please explain why the filter condition is not working?

Whats exactly the difference between sum(message_count) and message_count ?

Thanks,

Ramya

0 3 424
3 REPLIES 3