Skip to content
Filip Halas edited this page May 1, 2014 · 75 revisions

Welcome to Gomatch - the open source, fast and simple tool for matching log events developed in Go.

You can use it to collect log data and parse them into JSON. It allows you to match any number of patterns for a single line log input, where data are separated by spaces.

Developed as a bachelor thesis to create an efficent alternative to grok.

This wiki serves as the main source of documentation.

Documentation

Workspace

sample/	   	  	   	  	   	   # sample Patterns
src/	   	  	   	  	   	   # all source code
   gomatch.go	   	  	   	   # program core
   amqp.go	   	  	   	  	   # AMQP functionality
   file.go	   	   	   	   	   # file IO
   socket.go	   	   	   	   # unix domain socket input
   match.go	   	   	   	   	   # core for log matching
   match-trie.go	   	   	   # funcionality for prefix tree (trie).
   match-trie-fsm.go	   	   # finite state machine
   json.go	   	   	           # json conversion
   patterns.go	   	   	   	   # parsing of Patterns and Tokens files
Tokens	   	   	   	   	   	   # default location for regex definitions
Patterns	   	   	   	   	   # default location for event definitions
RabbitMQ	   	   	   	   	   # sample AMQP config file

License

Everything is licensed under the open source Apache License, Version 2.0.

Copyright 2014 Filip Halas

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.
Clone this wiki locally