Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

nginx-to-gor-converter

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nginx-to-gor-converter

Simple converter nginx logs to the goreplay format(.gor)

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

nginx-to-gor-converter

Simple converter nginx logs to the goreplay format(.gor)

Installation

npm i -g nginx-to-gor-converter

Usage

Usage of nginx-replay:

Options:
  -f, --filePath <path>  path of the nginx logs file
  -o, --output <path>    path of the output .gor file (default: "output.gor")
  --formatLog <string>   format of the nginx log file (default: "$remote_addr - $remote_user [$time_local] \"$request\" $status $body_bytes_sent \"$http_referer\" \"$http_user_agent\"")
  --formatTime <string>  format of the nginx time (default: "DD/MMM/YYYY:hh:mm:ss Z")
  -h, --help             display help for command


# Convert from nginx logs to the goreplay format
nginx-to-gor-converter -f nginx-access.log -o output.gor

Keywords

nginx

FAQs

Package last updated on 26 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts