log4j
anaschillin opened this issue · comments
Possible to add in log4j parsing similar to logsniffer
Could you detail what feature you would like in LogNavigator ?
I would like to be able to use log4j ConversionPattern to format log files created with log4j formatting. Essentially columinze the log file.
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 ?
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
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
Hey, sorry been ill past few days. Tried grokdebugger. It does not do what I require it to do.
Ok, can you explain what you need and is not provided by grok ?
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.