Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

HOWTO: How do I specify several days of log files in the log file path, using date macros with a pipe (|) character?

Expand / Collapse


This article applies to:

  • Firewall Suite 4.X

Question:

How do I specify several days of log files in the log file path, using date macros with a pipe (|) character?

Symptoms:

  • Some daily reports are missing.
  • Profile is configured to analyze yesterday's log file, and analyzes once each day.

Causes:

When a profile is configured to access yesterday's log file via FTP, and if the FTP client is unsuccessful in accessing that log file, a result could be 'missing days' in your WebTrends reports.

Procedure:

To avoid 'missing days' in your reports, the profile can be configured to access multiple days. Therefore, if for some reason the FTP client is unsuccessful today in accessing yesterday's log file, tomorrow it can attempt again to access the log file it missed in addition to the current log file.

Date macros can be used in the log file path within the profile configuration. For example, your log file name for today's log file is ex20020615.exe (year 02, month=Feb., and day=15). The following string can be used to retrieve log files for multiple days.

ftp://www.domain.com/logs/ex%date-1%%yyyy%%mm%%dd%.log | ftp://www.domain.com/logs/ex%date-2%%yyyy%%mm%%dd%.log | ftp://www.domain.com/logs/ex%date-3%%yyyy%%mm%%dd%.log

With this type of configuration, each time the analysis begins, three days of log files are accessed. So, if for some reason the FTP client is unsuccessful today in accessing the log files, most likely they will be accessed the following day.

Notes:

To review further information about date macros that can be used in Firewall Suite, please review the following knowledge base article.

Q10272: How do I configure date macros?

This article was previously published as:
NETIQKB4680

To contact Trustwave about this article or to request support:


Rate this Article:
     
Tags:

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.