rhit
rhit copied to clipboard
not the default of NGINX log, how to format it
my nginx log like 2014/12/01 15:05:00|222.222.222.222|333.333.333.333|image|200|………………more then 60 field hao to use this project format these log can this function be realized?
Right now I don't want to make the whole format totally configurable because of the induced performance cost but some formats may still be OK due to some tolerance and auto-adaptation when reading.
Can you provide a small test log file so that I see if it could be read without big change in rhit ?
You may anonymise log files with https://github.com/Canop/anolog (or manually, a log with a dozen lines is enough for my tests)
Right now I don't want to make the whole format totally configurable because of the induced performance cost but some formats may still be OK due to some tolerance and auto-adaptation when reading.
Can you provide a small test log file so that I see if it could be read without big change in rhit ?
You may anonymise log files with https://github.com/Canop/anolog (or manually, a log with a dozen lines is enough for my tests)
How to change the log format for log file
i can do this follow this post: https://stackoverflow.com/a/69426629/6559611
It's not configurable in rhit today. I'll probably do it at some point.