Message Filter

Messages are a common theme in modern applications. Distributed systems often employ messaging as the inter-process communication medium. Applications generate several log messages. Message Filter allows users to capture and display messages in an intuitive and highly configurable user interface.

Users define a set of filters, windows and window-filter association. In the configuration file shown below, three windows ALL, PRIORITY and HYBRID are defined. Several filters as shown in below are defined.

Filter Types

  • SANITY
  • ALIAS
  • CROSSED
  • VOLUME
  • GARBAN
  • LINE_STATUS
  • SEQUENCE
  • SEQ_LINE
  • SWAP
  • HILLIARD
  • LIBERTY
  • XFP
  • IPM

Tabulated View

Sample definition

Filter GARBAN contributor 2
Garban
G
Filter HILLIARD contributor 2
Hilliard
H
Filter LIBERTY contributor 2
Liberty
L
Filter XFP contributor 2
XFP
X
Filter IPM contributor 2
IPM
I
Filter SWAP contributor 2
Swap
S
Filter LINE_STATUS contains 2
input line
I
Filter SANITY contains 2
+-
I
Filter SEQUENCE contains 2
SEQUENCE

These filters are then associated with the HYBIRD window as option.

In the table below we show the snapshot and the configuration file for this example.

Messages are then displayed in three windows ALL, PRIORITY and HYBRID as shown below. HYBRID provides an option menu to switch between filters defined in the OPTIONS clause for the HYBRID window.

Filter Screens

Configuration File

# WIDTH=420 HEIGHT=214
# hours
20
# minutes daily reset
06
# seconds daily reset
0
# Filter filter_name filter_type
Filter PRIORITY priority
Filter ALL all
Filter ALIAS alias
Filter VOLUME volume
Filter CROSSED crossed
#Filter
# Filter filter_name parameter(s)
#Filter filtername description
Filter GARBAN contributor 2
Garban
G
Filter HILLIARD contributor 2
Hilliard
H
Filter LIBERTY contributor 2
Liberty
L
Filter XFP contributor 2
XFP
X
Filter IPM contributor 2
IPM
I
# Filter filter_name parameter(s)
Filter SWAP contributor 2
Swap
S
# Filter filter_name parameter(s)
Filter LINE_STATUS contains 2
input line
I
# Filter filter_name parameter(s)
Filter SANITY contains 2
+-
I
Filter SEQUENCE contains 2
SEQUENCE
Q
# must always be in the following sequence
# atleast one Filter, code,more filters as needed
Filter SEQ_LINE HYBRID 3
SEQUENCE
N
LINE_STATUS
#Window
#Window Priority 12 80 0
Window PRIORITY 12 80 0
#Window LINE 12 80 0
#Window SEQUENCE 8 80 0
Window ALL 16 80 0
Window HYBRID 8 80 0
#Window GARBAN 8 80 0
#Window SANITY 8 80 0
# connect
Connect ALL ALL
Connect PRIORITY PRIORITY
#Connect LINE LINE_STATUS
#Connect SEQUENCE SEQUENCE
#Connect GARBAN GARBAN
#Connect SANITY SANITY
#Connect HYBRID SEQ_LINE
Connect HYBRID SANITY
Options HYBRID SANITY ALIAS CROSSED VOLUME GARBAN LINE_STATUS SEQUENCE SEQ_LINE SWAP LIBERTY XFP IPM#
# on 10/17 RK removed Window.GARBAN and included FILTER.GARBAN as an option