Nginx Parser

Version 1.0.0.0 (5.01 KB) by Eydrian
Parses an Nginx default log file into a Matlab structure

161 Downloads

Updated Tue, 09 Dec 2014 15:45:09 +0000

View License

Parses the following structure of an nginx log into a Matlab structure:
log_format combined '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent"';
The Output looks as follows:
Devices =
nx1 struct array with fields:
remote_addr
remote_user
time_local
request
status
bytes_sent
http_referer
http_user_agent
gzip_ratio
method
location
protocol

Cite As

Eydrian (2023). Nginx Parser (https://www.mathworks.com/matlabcentral/fileexchange/48701-nginx-parser), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0