Skip to content

Tool for converting SFCC eCDN-WAF log to standard log formats like W3C

Notifications You must be signed in to change notification settings

ranveer5289/sfcc_ecdn_logs_transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFCC E-CDN log transformer

Tool for converting Salesforce Commerce Cloud CloudFlare eCDN-WAF log to standard log formats like W3C

SFCC provides multiple ways to generate eCDN-WAF log files. One of the way is to use OCAPI to download these log files.

W3C log format is an official standard. These are plain text files.

W3C log format is one of the format which is accepted by SEO log file analyzer like Screaming Frog. Other log format supported by Screaming Frog are Apache Logs, HAProxy

Usage

python3 log_transformer.py -h
usage: log_transformer.py [-h] [-i INPUT] [-o OUTPUT] [-f FORMAT] [-s]

optional arguments:
  -h, --help  show this help message and exit
  -i INPUT    Existing Input directory from which SFCC logs file will be read
  -o OUTPUT   Existing Output directory to which transformed W3C logs will be
              written
  -f FORMAT   Output log format. Eg: Apache, W3C
  -s          SFCC cache fingerprint will be removed from URL

Screaming Frog Usage

  1. Download Screaming Frog Log analyzer from official site
  2. Once installed Click "New" Create Project
  3. Enter name of the project Create Project
  4. Click User-Agent tab & un-check "Filter User Agents" Create Project
  5. Once project is created, Click Import > Log File

Create Project

  1. Select the log files

Releases

No releases published

Packages

No packages published

Languages