Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Background

The FortiGate Sophos analysis App automatically Collect - Read - Parse - Analyzes - Reports all machine generated log data of the server and presents a comprehensive set of graphs and reports to analyze network and firewall generated data. Use a predefined set of dashboards and gadgets to  visualize and address the IP's distribution, traffic behavior, interfaces utilization and possible viruses within the network. This logs analysis App helps measure, troubleshoot, and optimize your network integrity, stability and quality with the several visualization and investigation dashboards.

Steps:

  • The FortiGate Sophos logging application is based on the logging from the FortiGate Sophos console log.

    For enabling the application on the XpoLog software, please do the follows:
  • Create a TCP\UDP listener in your XpoLog environment.
  • Enter to your FortiGate Sophos console and direct it to sent the logs as syslog to the relevant listener which was configured in the previous section.
    When adding/editing the FortiGate Sophos log to XpoLog, it is mandatory to apply the correct log types:
  • syslog, firewall, fortigatesophos
  • Once the required information is set, edit the log pattern, this step is crucial to the accuracy and deployment of the FortiGate Sophos App. Use the following patterns for each of the logs:
    XPLG:[{timestamp:Timestamp,MM/dd/yyyy HH:mm:ss.SSS}] [{text:Facility,ftype=facility}] [{priority:Message_Level,ftype=level,DEBUG;INFO;WARN;ERROR;FATAL}] [{text:Source Device,ftype=source-device}] {block,start,emptiness=true}{text:Application Name,ftype=app-name}[{text:Process Id,ftype=pid}]: {block,end,emptiness=true}{properties:MessageRecord,keysSep==;propSep=space;,device#_#ftype=device#_#name=Device;date#_#ftype=date#_#name=Date;time#_#ftype=time#_#name=Time;devname#;timezone#_#ftype=timezone#_#name=Timezone;device_name#_#ftype=devname#_#name=DevName;devid#Device_Name;device_id#_#ftype=devid#_#name=DevID;Device_ID;log_id#_#ftype=logid#_#ftype#name=logidLog_ID;log_type#_#ftype=type#_#name=Log_Type;log_component#_#ftype=component#_#name=Log_Component;log_subtype#_#ftype=subtype#_#name=Log_Subtype;eventtype#status#_#ftype=eventtype#status#_#name=EventTypeStatus;dtype#priority#_#ftype=dtype#priority#_#name=dtypePriority;level#duration#_#ftype=level#duration#_#name=Level;vd#Duration;fw_rule_id#_#ftype=domain#fwruleid#_#name=Domain;logtime#FW_rule_id;policy_type#_#ftype=logtime#policytype#_#columnType#name=timestamp;logdesc#Policy_type;user_name#_#ftype=username#_#name=logdescUsername;user#user_gp#_#ftype=username#usergroup#_#name=UsernameUser_gp;unauthuser#iap#_#ftype=unauthusername#iap#_#name=Unauthusername;unauthusersource#iap;ips_policy_id#_#ftype=usernamesource#ips_policy_id#_#name=Unauthsernameips_policy_source;method#id;appfilter_policy_id#_#ftype=method#appfilter_policy_id#_#name=Method;status#appfilter_policy_id;application#_#ftype=status#app#_#name=StatusApplication;reason#application_risk#_#ftype=reason#apprisk#_#name=Reason;profile#Application_risk;application_technology#_#ftype=profile#apptech#_#name=Profile;srcip#Application_technology;application_category#_#ftype=sourceip#appcat#_#name=SRC-IP;srcname#Application_category;in_interface#_#ftype=sourcename#srcintf#_#name=SRC-Name;srcport#in_interface;out_interface#_#ftype=sourceport#dstintf#_#name=SRC-Port;srcintf#out_interface;src_mac#_#ftype=srcintf#srcmac#_#name=Srcintf;srcintfrole#Src_mac;src_ip|sourceip#_#ftype=srcintfrole#sourceip#_#name=Srcintfrole;dstip#SRC-IP;src_country_code#_#ftype=targetip#srccountry#_#name=DST-IP;dstname#SrcCountry_code;dst_ip|destinationip#_#ftype=targetname#targetip#_#name=DST-Name;dstport#IP;dst_country_code#_#ftype=targetport#dstcountry#_#name=DST-Port;dstintf#DstCountry_code;protocol#_#ftype=dstintf#proto#_#name=DstintfProtocol;dstintfrole#src_port#_#ftype=dstintfrole#sourceport#_#name=Dstintfrole;poluuid#SRC-Port;dst_port#_#ftype=poluuid#targetport#_#name=Poluuid;sessionid#DST-Port;sent_pkts#_#ftype=sessionid#sentpkt#_#name=Sessionid;proto#Sent_pkts;recv_pkts#_#ftype=proto#rcvdpkt#_#name=Proto;direction#Recv_pkts;sent_bytes#_#ftype=direction#bytessent#_#name=Direction;url#Sent_Bytes;recv_bytes#_#ftype=requrl#bytesreceived#_#name=URL;agent#Recv_Bytes;tran_src_ip#_#ftype=useragent#transrcip#_#name=Agent;action#Tran_src_ip;tran_src_port#_#ftype=eventName#transrcip#_#name=Action;hostname#Tran_src_port;tran_dst_ip#_#ftype=hostname#trandstip#_#name=Hostname;policyid#Tran_dst_ip;tran_dst_port#_#ftype=policyid#trandstip#_#name=PolicyID;policytype#Tran_dst_port;srczonetype#_#ftype=policytype#srczonetype#_#name=Policytypesrczonetype;service#srczone#_#ftype=service#srczone#_#name=servicesrczone;attack#dstzonetype#_#ftype=attack#dstzonetype#_#name=Attackdstzonetype;filename#dstzone#_#ftype=filename#dstzone#_#name=Filenamedstzone;virus#dir_disp#_#ftype=virus#dirdisp#_#name=Virusdir_disp;appid#connevent#_#ftype=appid#connevent#_#name=AppIdConnevent;dstcountry#connid#_#ftype=dstcountry#connid#_#name=DstCountryconnid;srccountry#vconnid#_#ftype=srccountry#vconnid#_#name=SrcCountryvconnid;app#hb_health#_#ftype=app#hb_health#_#name=AppHB_health;duration#message#_#ftype=duration#message#_#name=DurationMessage;sentbyte#appresolvedby#_#ftype=bytessent#appresolvedby#_#name=SentByteAppresolvedby;rcvdbyte#category#_#ftype=bytesreceived#category#_#name=RcvdByteCategory;sentpkt#category_type#_#ftype=sentpkt#appcattype#_#name=SentpktCategory_type;rcvdpkt#url#_#ftype=rcvdpkt#requrl#_#name=RcvdpktURL;countapp#contenttype#_#ftype=countapp#contenttype#_#name=Countappcontenttype;osname#override_token#_#ftype=osname#overridetoken#_#name=OSnameoverride_token;osversion#httpresponsecode#_#ftype=osversion#httpresponsecode#_#name=OSversionhttpresponsecode;mastersrcmac#domain#_#ftype=mastersrcmac#domain#_#name=MastersrcmacDomain;srcmac#exceptions#_#ftype=srcmac#exceptions#_#name=SrcmacExceptions;masterdstmac#activityname#_#ftype=masterdstmac#activityname#_#name=MasterdstmacActivityname;dstmac#reason#_#ftype=dstmac#reason#_#name=DstmacReason;srcserver#user_agent#_#ftype=srcserver#useragent#_#name=srcserver;dstserver#User_Agent;status_code#_#ftype=dstserver#respstatus#_#name=dstserverStatus_code;appcat#transactionid#_#ftype=appcat#transactionid#_#name=Appcattransactionid;crscore#referer#_#ftype=crscore#referer#_#name=CRscoreReferer;craction#icmp_type#_#ftype=craction#icmptype#_#name=CRaction;crlevel#icmp_type;icmp_code#_#ftype=crlevel#icmpcode#_#name=CRlevelicmp_type;cpu#version#_#ftype=cpu#version#_#name=CPUVersion;mem#culture#_#ftype=mem#culture#_#name=MEMCulture;totalsession#publickeytoken#_#ftype=totalsession#publickeytoken#_#name=Totalsessionpublickeytoken;disk#publickeytoken#_#ftype=disk#publickeytoken#_#name=Disk;bandwidth#publickeytoken;application_filter_policy#_#ftype=bandwidth#appfilter#_#name=Bandwidth;setuprate#Application_filter_policy;application_name#_#ftype=setuprate#appname#_#name=SetuprateApplication_name;disklograte#threatname#_#ftype=disklograte#threatname#_#name=Disklogratethreatname;fazlograte#eventid#_#ftype=fazlograte#eventid#_#name=Fazlograteeventid;msg#eventtype#_#ftype=message#eventtype#_#name=MSGEventType;apprisk#login_user#_#ftype=apprisk#loginuser#_#name=Appriskloginuser;applist#process_user#_#ftype=applist#processuser#_#name=Applistprocessuser;scertcname#ep_uuid#_#ftype=scertcname#epuuid#_#name=Scertcname;scertissuer#ep_uuid;execution_path#_#ftype=scertissuer#executionpath#_#name=Scertissuerexecution_path;}