开发者

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?
    ...
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜