Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
toperski
New Contributor

Dataset for report containing topusers of top destinations

Hi,

 

I would like create a dataset that would query top destinations with corresponding top users per destination.

 

Please assist me in creating syntax for data set

 

Thanks in advance,

Toperski

3 REPLIES 3
hzhao_FTNT
Staff
Staff

Please try:

 

Log type: traffic

select coalesce(root_domain(hostname), ipstr(dstip)) as destination, coalesce(nullifna(`user`), nullifna(`unauthuser`), ipstr(`srcip`)) as user_src, sum(coalesce(`sentbyte`, 0)+coalesce(`rcvdbyte`, 0)) as bandwidth from $log where $filter and logid_to_int(logid) not in (4, 7, 14) group by destination, user_src  order by bandwidth desc

 

create a chart based on this dataset:

chart type: table

Table type: drilldown

Column1: destination

column2: user_src

column3: bandwidth

 

Regards,

hz

toperski

Hi hz,

 

Thanks for the reply and that helped a lot. What parameter should I change to get the top 5 users for each top destinations?

 

TIA,

toperski

hzhao_FTNT

Please set "Drilldown Top" to 5.

 

Regards,

hz

Labels
Top Kudoed Authors