Last active
August 29, 2015 13:56
-
-
Save dblessing/9092724 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grok { | |
match => [ | |
'message', '(?m)%{DATESTAMP:timestamp} ?%{LOGLEVEL:loglevel} %{DATA:category}:%{INT:line} - %{GREEDYDATA:message}', | |
'message', '(?m)%{GREEDYDATA:timestamp} %{JAVACLASS:class} %{WORD:method} %{GREEDYDATA:message}', | |
'message', '(?m)%{TIMESTAMP_ISO8601:timestamp} %{LOGLEVEL:loglevel} \[%{JAVACLASS:class}\] - %{GREEDYDATA:message}' | |
] | |
overwrite => 'message' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feb 19, 2014 8:00:54 AM org.apache.catalina.core.ApplicationContext log | |
INFO: Set web app root system property: 'sp' = [/srv/tomcat/container/webapps/app/] | |
Feb 19, 2014 8:00:54 AM org.apache.catalina.core.ApplicationContext log | |
INFO: Initializing log4j from [classpath:log4j.properties] | |
Feb 19, 2014 8:00:54 AM org.apache.catalina.core.ApplicationContext log | |
INFO: Initializing Spring root WebApplicationContext | |
2014-02-19 08:00:54,351 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from class path resource [default.properties] | |
2014-02-19 08:00:54,353 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from file [/etc/app/common.properties] | |
2014-02-19 08:00:54,353 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from file [/etc/app/productsearch.properties] | |
2014-02-19 08:00:54,360 INFO [org.springframework.web.context.support.AnnotationConfigWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Wed Feb 19 08:00:54 CST 2014]; root of context hierarchy | |
2014-02-19 08:00:54,429 INFO [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] - JSR-330 'javax.inject.Named' annotation found and supported for component scanning | |
2014-02-19 08:00:54,430 INFO [org.springframework.web.context.support.AnnotationConfigWebApplicationContext] - Registering annotated classes: [class com.example.intranet.productsearch.config.AppConfig] | |
2014-02-19 08:00:54,538 WARN [org.mybatis.spring.mapper.MapperScannerConfigurer$Scanner] - No MyBatis mapper was found in 'com.example.intranet.productsearch.dao.mapper' package. Please check your configuration. | |
2014-02-19 08:00:54,585 INFO [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] - JSR-330 'javax.inject.Named' annotation found and supported for component scanning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment