Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Expand
titleWatch video tutorial

Anchor
graphdiagramvideo
graphdiagramvideo

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width600px
urlhttps://www.youtube.com/watch?v=G2o8Em1bXzk&list=PLR0TbkJl4P04Txoz-4xKGaUbrGzIz3gL_&index=8&t=1s
height300px

This is the query used in the tutorial video. You can reproduce it by pasting it in Data Search → Free Text Query.

Code Block
from demo.ecommerce.data
where isnotnull(clientIpAddress) and reputationscore(clientIpAddress)>1
select split(referralUri,"/",2) as domain
select ifthenelse(statusCode>=400,"OK","ERROR") as status
group by domain, clientIpAddress, method, status
select decode(domain,
"www.logcasts.com",latlon(40.4165,-3.70256),
"www.google.com",latlon(40.6643,-73.9385),
"www.yahoo.com",latlon(-22.90642,-43.18223),
"www.bing.com",latlon(-33.86785,151.20732),
"www.logtrust.com",latlon(52.52437,13.41053)) as positionDomain
select mmcoordinates(clientIpAddress) as clientPosition
select int(avg(timeTaken)) as timeTakenAvg

...