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

Report don't work with custom chart

I great dataset to search phrase with the source ip and time but when i try to generate report it appear no matching data also i test the dataset and it work.

  select from_dtime(dtime) as timestamp, ipstr(`srcip`),Hostname, keyword, count(*) as requests from $log where $filter and keyword is not null group by ipstr(`srcip`),dtime,hostname,keyword order by requests desc

kindly help

1 REPLY 1
hzhao_FTNT
Staff
Staff

Please as alias for ipstr(`srcip`), otherwise chart can not determine correct data column.

select from_dtime(dtime) as timestamp, ipstr(`srcip`) as SourceIP,hostname, keyword, count(*) as requests from $log where $filter group by SourceIP,dtime,hostname,keyword order by requests desc

Labels
Top Kudoed Authors