Log Parsing/Analysing
I am looking for a Java or Python based solution to parse a custom log file and prepare custom report dashboard.
Is there any way I 开发者_如何学编程can read that log file as a flat file database ?
try this http://www.microsoft.com/en-us/download/details.aspx?id=24659
it's very good and pretty fast
A log file is not a database, but you can read one with Python doing:
logFile = file('/path/to/file')
for line in logFile:
# do something with the line, maybe some regex matching?
...
精彩评论