Nginx Parser

Version 1.0.0.0 (5.01 KB) by Eydrian
Parses an Nginx default log file into a Matlab structure
179 Downloads
Updated 9 Dec 2014

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 (2026). Nginx Parser (https://uk.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
Categories
Find more on Files and Folders in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0