Giter Club home page Giter Club logo

sfcc_ecdn_logs_transformer's Introduction

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

sfcc_ecdn_logs_transformer's People

Contributors

ranveer5289 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.