[jboss-jira] [JBoss JIRA] (LOGTOOL-62) Log filtering tool

Gunnar Morling (JIRA) jira-events at lists.jboss.org
Tue Dec 4 13:18:22 EST 2012


    [ https://issues.jboss.org/browse/LOGTOOL-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739397#comment-12739397 ] 

Gunnar Morling commented on LOGTOOL-62:
---------------------------------------

Jesper, you might consider to use a tool such as logstash or Splunk. They allow to aggregate and index log files and perform searches as the one you describe.
                
> Log filtering tool
> ------------------
>
>                 Key: LOGTOOL-62
>                 URL: https://issues.jboss.org/browse/LOGTOOL-62
>             Project: Log Tool
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Jesper Pedersen
>            Assignee: James Perkins
>
> It would be nice to have a log filtering tool, which can help to extract / highlight log statements in huge log files.
> An idea could be to have a SQL like language in order to limit the number of lines as much as possible
> {noformat}
> SELECT * FROM server.log WHERE CATEGORY = 'org.jboss.as' AND SEVERITY IN {FATAL OR ERROR OR WARN} AND TIMESTAMP >= '12:42:00,000' AND CONTENT CONTAINS 'Something went wrong'
> {noformat}
> Having functions to select all / a defined number of lines after each hit, between timestamps, and so on would be good.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list