How to filter "select" queries from a log file that contains over 30000 lines with logstash

how to filter "select" queries from a log file that contains over 30000 lines with logstash
exp:
name: securityStore
persistence provider classname: org.hibernate.ejb.HibernatePersistence
15:49:05,479 DEBUG [org.hibernate.stat.internal.ConcurrentStatisticsImpl] (default task-43) HHH000117: HQL: select T from translator_MenuTranslator T where (T.codeMessage = ?1 and (T.language = ?2 and (T.label = ?3 and T.label = ?4))), time: 2ms, rows: 0

grok {
match => [ "message", "%{TIME:timestamp}\s%{LOGLEVEL:level} [%{JAVACLASS:class}]\s(%{GREEDYDATA:thread}) HHH000117: HQL: select T from %{GREEDYDATA:tableName}T where (T.codeMessage = ?%{NOTSPACE}1 and (T.language = ?%{NOTSPACE}2 and (T.label = ?%{NOTSPACE}3 and T.label = ?%{NOTSPACE}4))), time:\s%{GREEDYDATA:time},\s%{GREEDYDATA:rows}" ]

}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.