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 |
|
Advanced modification of event properties
An event has a selected number of list properties that can be modified by the OPR Event services listed in the Service Document, described in the section Access the Event Web Service.
To generate an XML list of the custom attribute properties of the specified event, you call the following URL:
https://<server.example.com>/opr-web/rest/9.10/event_list/<event_ID>/custom-attribute-list/
Where:
<server.example.com>
is the name of the gateway server, and <event_ID>
is the ID of the event for which you want to list the custom attributes.
The REST response to such a URL call (in this case for an event with the ID 26629e00-2d8d-71dd-1aa2-1039228c0111) could look like this:
<custom_attribute_list xmlns="http://www.hp.com/2009/software/opr/data_model" self="http://<server.example.com>/ws/rest/event_list/26629e00-2d8d-71dd-1aa2-1039228c0111/custom_attribute_list" type="urn:x-hp:2009:software:data_model:opr:type:event:custom_attribute_list" version="1.0"> <custom_attribute self="http://<server.example.com>/ws/rest/event_list/26629e00-2d8d-71dd-1aa2-1039228c0111/custom_attribute_list/drilldown.url.ci" type="urn:x-hp:2009:software:data_model:opr:type:event:custom_attribute" version="1.0"> <name>drilldown.url.ci</name> <value>http://url.to/drill/down/ci</value> </custom_attribute> <custom_attribute self="http://<server.example.com>/ws/rest/event_list/26629e00-2d8d-71dd-1aa2-1039228c0111/custom-attribute-list/drilldown.url.event" type="urn:x-hp:2009:software:data_model:opr:type:event:custom_attribute" version="1.0"> <name>drilldown.url.event</name> <value>http://url.to/drill/down/event</value> </custom_attribute> </custom_attribute_list>
Using the Event Web Service, you can create and edit list items, and also delete items from the custom attributes list.
Note You cannot create or delete an event itself using the RestWsUtil command-line utility.
To create a custom attribute item for a specified event, you send an HTTP POST request with the corresponding XML object to the event custom attribute list URL. When you call the custom attribute list URL for your specified event, you see that your new item has been added to the list of custom attributes for that event.
To edit an item in the list of custom attributes, you do something very similar. You send an HTTP PUT Request specifying an existing item name and a changed value for that item. The Event Web Service updates the value to the new value.
The HTTP response could look like this:
<custom_attribute xmlns="http://www.hpe.com/2009/software/opr/data_model" self="http://<server.example.com>/ws/rest/event_list/26629e00-2d8d-71dd-1aa2-1039228c0111/custom_attribute_list/mynewattribute" type="urn:x-hp:2009:software:data_model:opr:type:event:custom_attribute" version="1.0"> <name>mynewattribute</name> <value>Hello</value> </custom_attribute>
Similarly, to delete an item from the list of custom attributes, you send an HTTP DELETE request to the following URL:
https://<server.example.com>/opr-web/rest/9.10/event_list/<event_ID>/custom_attribute_list/<custom_attribute_name>
Where:
<custom_attribute_name>
is the name of the custom attribute selected for deletion.
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 ovdoc-asm@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: