Canop / Canop/rhit

parse nginx log_format

Open
#4 1 comment 6 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1k
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Right now rhit assumes the log format is the default one, which is quite common.

Among the reasons I had not to interpret the configured log format:

- it's painful to write an efficient enough variable parser
- changing the configuration means the past isn't readable anymore, so it can't be perfect
- the log_format variable lets you define unparsable and ambiguous log lines
- you may define formats missing essential fields

So, as long as it looks like I can have something working for 99% of users, using a few tricks and dynamic recognitions, I won't implement this issue.

Nevertheless, I'm not sure not parsing the `log_format` will always be OK, hence this issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.