Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If  tag=value constructions with or without regular expressions are detected in search string then   all other  other text is ignored and the searching engine uses only these constructions. Such searching mode is similar to a filter. Messages are parsed one-by-one, search criteria is are applied and message satisfying search criteria is displayed. If some preliminary filter is set then search criteria derived from search string analysis is added to the preliminary filter and the result filter construction is applied to FIX message. 

Warning

All unnecessary text before the tag will be ignored, but after tag value, there must be a space character. All other symbols will "spoil" the search string and tag=value construction will not be detected. For example "asdf34=1" will work as "34=1" and "34=1asdf" will not work


Regular expressions may be used similarly to filter (see Datafilter). Space between tag=value patterns means AND logical operator.

Info
Search is case sensitive. 

Examples for this type of search are present in the table below.

Examples

query type

test example

screenshot

single tag=value pattern

query: 35=d

only messages where condition 35=d is true are displayed in the result output

two tag=value patterns separated by space

query: 35=d 34=6

only messages where condition 35=d is true and 34=6 is true are displayed in the result output



Context search

Context search means that all input in "search box" is considered as plain text. It is divided in into text patterns according to some rules described below and these patterns are searched for in input log file. First a text put in “search box” is analyzed.

 All  put in “”  A text in quotes (" ") is considered as one pattern and is taken as exact text phrase for  for the searching engine. Input  The input text is divided into many patterns when space characters are met. Each pattern is searched. Space character here means OR logical operator. Plus character (+) at the beginning of pattern is used for logical AND operation. That means that searching <pattern1> +<pattern2> will lead to success  success only if both pattern1 and pattern2 are found in the input stream.

Warning

If only +<pattern>  is present in search string then no matches will be found even if <pattern>  is contained in the input stream

Context search differs from tag=value search. All input stream is analyzed and the results are shown only at the end. Note, context searching may take a long time if input file is big! By the way you can press "cancel" button at the bottom of the page to stop the process. 

Searching of patterns in a FIX message is more complicated than ordinary plain text search. First of all search engine looks for patterns in a raw fix message. Then fix message is parsed and tag IDs are converted to names, (e.g. 35=A is turned to MsgType=A) and the search engine looks for patterns again. And for the third time search tag values are  converted to text equivalents, (e.g. 35=A is turned to MsgType=Logon).   At the display step all FIX messages satisfying search   criteria are  are displayed. 

Info
Context search is case insensitive.

Examples

Examples for this type of search are present in the table below.

query type

test example

screenshot

single pattern

query: heart

"heart" pattern has been found in 35 tag and 108 tag

several patterns divided by spaces, no quotes

query: heart security

all messages where "heart" or "security" patterns has have been found

are displayed

several patterns divided by spaces, all text in quotes

query: "list of securities"

all messages where exact phrase "list of securities" has been found

are displayed

two patterns, one of them with plus sign'+' character 

query: security +gas

Only messages where both "security" and "gas" has been found are

displayed


...