Hopeful someone can help me create a dataset \ report showing source IPs accessing, the domain hit, and the category for the following categories:
Discrimination Explicit Violence Extremist Groups Illegal or Unethical Nudity and Risque
Running 5.2. Thanks!
Please try:
select user_src, domain, catdesc, sum(visits) as visits from (###(select coalesce(nullifna(`user`), ipstr(`srcip`)) as user_src, coalesce(nullifna(hostname), ipstr(`dstip`)) as domain, catdesc, count(*) as visits from $log-traffic where $filter and logid_to_int(logid) not in (4, 7, 14) and utmevent in ('webfilter', 'banned-word', 'web-content', 'command-block', 'script-filter') and catdesc in ('Discrimination', 'Explicit Violence', 'Extremist', 'Illegal or Unethical', 'Nudity and Risque') group by user_src, domain, catdesc order by visits desc)### union all ###(select coalesce(nullifna(`user`), ipstr(`srcip`)) as user_src, coalesce(nullifna(hostname), ipstr(`dstip`)) as domain, catdesc, count(*) as visits from $log-webfilter where $filter and (eventtype is null or logver>=52) and catdesc in ('Discrimination', 'Explicit Violence', 'Extremist', 'Illegal or Unethical', 'Nudity and Risque') group by user_src, domain, catdesc order by visits desc)###) t group by user_src, domain, catdesc order by visits desc
regards,
hz
This looks great. I really appreciated it!!!
I advice you to visit http://docs.fortinet.com/uploaded/files/1177/fortianalyzer-fortigate-sql-technote-40-mr2.pdf
it will be very helpful to you .
here just i list the main point:
-Go to Report > Chart > Data Set. 2 Click Create New. 3 Configure all required fields, then click OK.
Naama Salim Al-siyabi
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1737 | |
1108 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.