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

log4j #6

Open
anaschillin opened this issue Jan 22, 2018 · 8 comments
Open

log4j #6

anaschillin opened this issue Jan 22, 2018 · 8 comments

Comments

@anaschillin
Copy link

Possible to add in log4j parsing similar to logsniffer

@fbaligand
Copy link
Owner

Could you detail what feature you would like in LogNavigator ?

@anaschillin
Copy link
Author

I would like to be able to use log4j ConversionPattern to format log files created with log4j formatting. Essentially columinze the log file.

@fbaligand
Copy link
Owner

OK, I see.
So you would like that when you see a log file content in "TABLE" mode, you have log lines parsed so that you log lines are split in custom columns, right ?

I thought to such a feature, and I plan to integrate grok library to do this.
Do you know it ? Does it fill your need ?

@anaschillin
Copy link
Author

I am not a programmmer but I understand what GROK will allow you to do. Have a look at https://github.com/logsniffer... I dont think thise project uses GROK... I had a quick dig around, it seems to use https://github.com/tony19/named-regexp... I might be wrong

@fbaligand
Copy link
Owner

fbaligand commented Jan 23, 2018

Grok allows precisely to use named regexes and provides out-of-the-box numerous named regexes that matches numerous needs.

You can test it easily here :
https://grokdebug.herokuapp.com

@anaschillin
Copy link
Author

Hey, sorry been ill past few days. Tried grokdebugger. It does not do what I require it to do.

@fbaligand
Copy link
Owner

Ok, can you explain what you need and is not provided by grok ?

@anaschillin
Copy link
Author

Sorry, ignore me. I didn't realise GORK had its own expression style. Managed to get it work. It does what I need it to do.

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

2 participants