Hi, so I need to do a query that shows the app, user and the kind of threat. But the app and the user are on the "Traffic" kind log and the things related to threats are in another kind of log.
So is it possible to join fields from one Log of certain kind to another of different kind?
And if it's possible, how could it be done?
Regards.
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
NON-JOIN combination:
SELECT t.srcip, t.dstip, t.dstcountry, v.eventtype, v.ref FROM $log-virus v, $log-traffic t WHERE t.srcip=v.srcip AND t.srcport=v.srcport AND t.dstip=v.dstip AND t.dstport=v.dstport
INNER JOIN:
SELECT t.srcip, t.dstip, t.dstcountry, v.eventtype, v.ref FROM $log-traffic t INNER JOIN $log-virus v ON t.srcip=v.srcip WHERE t.srcport=v.srcport AND t.dstip=v.dstip AND t.dstport=v.dstport
======
Log Types for reference (not all are used above)
Attack Log: $log-attack
Application Control: $log-app-ctrl
Content: $log-content
DLP: $log-dlp
Antispam: $log-emailfilter
Event log: $event
Fortimail History: $log-history
Traffic: $log-traffic
AntiVirus: $log-virus
VOIP: $log-voip
Web Filter: $log-filter
Vuln. Scan: $log-netscan
FCT Event: $fct-event
FCT Traffic: $fct-traffic
FCT Vulnerability: $fct-netscan
NON-JOIN combination:
SELECT t.srcip, t.dstip, t.dstcountry, v.eventtype, v.ref FROM $log-virus v, $log-traffic t WHERE t.srcip=v.srcip AND t.srcport=v.srcport AND t.dstip=v.dstip AND t.dstport=v.dstport
INNER JOIN:
SELECT t.srcip, t.dstip, t.dstcountry, v.eventtype, v.ref FROM $log-traffic t INNER JOIN $log-virus v ON t.srcip=v.srcip WHERE t.srcport=v.srcport AND t.dstip=v.dstip AND t.dstport=v.dstport
======
Log Types for reference (not all are used above)
Attack Log: $log-attack
Application Control: $log-app-ctrl
Content: $log-content
DLP: $log-dlp
Antispam: $log-emailfilter
Event log: $event
Fortimail History: $log-history
Traffic: $log-traffic
AntiVirus: $log-virus
VOIP: $log-voip
Web Filter: $log-filter
Vuln. Scan: $log-netscan
FCT Event: $fct-event
FCT Traffic: $fct-traffic
FCT Vulnerability: $fct-netscan
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 |
---|---|
1662 | |
1077 | |
752 | |
446 | |
220 |
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.