A simple Java libary to parse various known log file formats into strongly-typed format-specific Java object. Once data is into a strongly typed object, its easier to run analysis on large files.
Formats currently supported are:
- Amazon AWS ELB logs
- Adobe Experience Manager Audit logs
- Adobe Experience Manager Error logs
- Adobe Experience Manager Request logs
- Adobe Experience Manager Replication logs
- Adobe Experience Manager Tar Optimization logs
- Sun/Oracle JDK GC logs
- Apache Tomcat access logs (default format)
- Charles Proxy Summary/Session XML
The following log formats shall be added to the library next:
- log4j
- logback
- Apache httpd access logs
Building the library is very simple.
$ git clone git@github.com:sangupta/log-parser.git
$ cd log-parser
$ mvn clean package
You may include the library in your Maven project by adding the following to the pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.sangupta</groupId>
<artifactId>log-parser</artifactId>
<version>-SNAPSHOT</version>
</dependency>
log-parser: Parsers for various log formats
Copyright (c) 2015-2016, Sandeep Gupta
https://sangupta.com/projects/log-parser
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.