开发者

Log Parser for linux [closed]

Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines guidelines. It is not currently accep开发者_如何转开发ting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 4 years ago.

Improve this question

Log Parser is great tool for parsing log files. I can parse not just IIS log files but also custom log files with it.

For example I can use SQL syntax to parse logs:

C:\>LogParser "SELECT TimeGenerated, SourceName, 
EventCategoryName, Message INTO report.txt FROM Security WHERE 
EventID = 528 AND SID LIKE '%TESTUSER%'" -resolveSIDs:ON

Is there any tool like that for linux?

Thanks.


lnav supports SQL queries and supports most of the common Linux log formats. Look at the project's website and documentation page for more details and screenshots.


Maybe you'll take a look at multitail?

When it comes to text based logs grep is your friend—it can do pretty much the same what SQL-like syntax in your example.


have you tired tail command ?

tail -f /path/to/log/file/log

if you prefer a log viewer with GUI, Have a look at Gnome Log Viewer

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜