Hello @yosiasz
I was able to achieve the result and create 3 columns writing below UQL query, however now I also want to add a filter on top so I can filter out traffic according to the domain/vhost. I have added a variable and also able to see the list(values of hostnames), but it is not yet integrated with the GRAPH. What should I add in the UQL query to make it happen? can you help?
===
parse-json scope “vhost”
project kv()
extend “sent_bytes”=“value.metrics.sent_bytes”
mv-expand “sent_bytes”
extend “vhost_name”=“key”
extend “Time”=unixtime_seconds_todatetime(“sent_bytes[0]”)
extend “bytes”=“sent_bytes[1]”
project “vhost_name”, “Time”, “bytes”
Attaching screenshots and Hiding hostnames for confidentiality
Can you help me how can I integrate the variable with the data? Currently selecting the variable doesn’t work.