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
引用格式
Eydrian (2024). Nginx Parser (https://www.mathworks.com/matlabcentral/fileexchange/48701-nginx-parser), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2014b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Files and Folders 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |