Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Guidelines for Creating a Payload Filter
Note: This topic is used in multiple places and is specifically not added to the TOC.
When creating a Payload Filter, note the following:
- Payload Filter expressions for the
like
andnot like
operators use the syntax defined for Java regular expressions (java.util.regex Pattern class) - You must use a
ciaName
that already exists in the trap or event you are configuring. - Each set of expressions associated with a Boolean Operator is treated as if it were enclosed in parentheses and evaluated together.
- View the expression displayed under Filter String to see the logic of the expression as it is created.
-
The
AND
andOR
Boolean Operators must contain at least two expressions as shown in the example below.The following example filters incidents on voltage state (CISCO-ENVMON-MIB MIB,
ciscoEnvMonVoltageState
). Using this Payload Filter, you could then configure the Basics settings of the Enrichment configuration to set the severity and message format to all incidents that return a state value of4
or5
.OR
AND
ciaName = .1.3.6.1.4.1.9.9.13.1.2.1.7
ciaValue = 4
AND
ciaName = .1.3.6.1.4.1.9.9.13.1.2.1.7
ciaValue = 5NNMi evaluates the expression above as follows:
((ciaName = .1.3.6.1.4.1.9.9.13.1.2.1.7 AND ciaValue = 4) OR (ciaName = .1.3.6.1.4.1.9.9.13.1.2.1.7 AND ciaValue = 5))
NNMi finds all incidents with a varbind of
.1.3.6.1.4.1.9.9.13.1.2.1.7
and a CIA value of 4 or 5.Note When you use
ciaName
andciaValue
in a Payload Filter, you must enter theciaName
andciaValue
as a pair as shown in the preceding example. - The placement of your cursor and the subsequent text that is selected is important when performing operations using the Payload Filter Editor. For example, you append to, replace, or change the indentation of the expression that is selected.
- The placement of your cursor and the subsequent text that is selected is especially important when adding your Boolean operators.
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to network-management-doc-feedback@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: