Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not the default of NGINX log, how to format it #12

Open
kof8855 opened this issue Sep 6, 2021 · 3 comments
Open

not the default of NGINX log, how to format it #12

kof8855 opened this issue Sep 6, 2021 · 3 comments

Comments

@kof8855
Copy link

kof8855 commented Sep 6, 2021

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?

@Canop
Copy link
Owner

Canop commented Sep 6, 2021

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)

@seozed
Copy link

seozed commented Apr 18, 2022

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

@Canop
Copy link
Owner

Canop commented Apr 20, 2022

It's not configurable in rhit today.
I'll probably do it at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants