Index search rules for TIBCO LogLogic LMI

Index search rules for TIBCO LogLogic LMI

book

Article ID: KB0077266

calendar_today

Updated On:

Products Versions
TIBCO LogLogic Log Management Intelligence all versions

Description

The purpose of indexing is to increase performance when searching event data. It is most effectively used when you need to find a rare occurrence of a string. This data can then be searched quickly by using Boolean operators and wildcards. As of LMI 6.1.0 there is now an advanced search feature which also uses index data. The only index search functionality that existed prior to 6.1.0 is now referred to as classic index search. Both classic and advanced index search use the same Lucene-based indexes. Boolean operators are used only to search indexed data. Regular expression searches cannot use Boolean operators. This article provides examples of the rules that must be followed when using wildcards with Boolean operators in LMI's index searches.

A minimum of three characters, and a maximum of 250 is allowed in the classic index search query field but 5MB of query text is allowed for advanced searches.

When searching for a partial word use an asterisk "*".  The * must follow a character. The * wildcard represents multiple characters. If you want to use a wildcard to represent a single character then use a "?" instead.
Example: 
abc* is proper whereas *abc is incorrect.


Strings or words should be in double quotes like these " ".
Example:
"word1 word2 etc"


Looking for a message with any word that starts with “fail” and without the string of words “server time out”.
Example: 
fail* AND NOT "server time out" is proper, whereas fail* AND NOT server time out is bad.



Further examples of Complex Searches:

Example: 
%glbp-* AND (vlan30* OR vlan400)

Below are the messages the above search found.
GLBP-6-STATECHANGE: Vlan400 Grp 10 state Active -> Speak
GLBP-4-DUPADDR: Duplicate address 203.30.90.21 on Vlan3090, sourced by 0007.b400.0002
GLBP-6-FWDSTATECHANGE: Vlan400 Grp 9 Fwd 2 state Listen -> Active

 

Example:
%glbp-* AND (vlan30* OR vlan400) AND active

Below are the messages the above search found.
%GLBP-6-STATECHANGE: Vlan3094 Grp 0 state Standby -> Active
%GLBP-6-FWDSTATECHANGE: Vlan400 Grp 0 Fwd 1 state Active -> Listen
%GLBP-6-FWDSTATECHANGE: Vlan400 Grp 0 Fwd 1 state Listen -> Active

Issue/Introduction

This article explains the Boolean and wildcard search rules with classic and advanced index search in LogLogic LMI.