Events-log4j-parser

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

A library that produces timed events from log4j logs.

GitHub

https://github.com/NovaOrdis/events-log4j-parser

Installation

Installs as a command line utility log4jp-<version>.zip.

TODO

./doc/Events log4j Parser TODO.docx.

Usage

log4jp <log-file> [query]

Query

The query filters the events that will displayed.

A query contains:

  • keywords
  • event fields
  • regular expressions

When multiple keywords are present in query, the implied boolean operator is OR. For example, the following query:

blue red

will return all events that contain "blue" and all events that contain "red".

Note that

blue red

and

"blue red"

are different.