Find Message operation


The Find Message operation retrieves messages according to the specified filter criteria.

The following table describes the <items> XML and request elements for the Find Message operation:

Adapter request elements for the Find Message operation

The following figure shows a sample adapter request for the Find Message operation:

Sample adapter request for the Find Message operation

<hpom-request>
<operation>find-message</operation>
<arguments>
<severity>critical</severity>
</arguments>
</hpom-request>


The following figure shows the adapter response for the sample request:

Sample adapter response for the Find Message operation

<hpom-response>
  <metadata>
    <status>success</status>
    <response-count>1</response-count>
  </metadata>
  <messages-response>
    <message-response>
      <metadata>
        <status>success</status>
        <count>5</count>
        <timestamp>2009-10-08 12:15:53</timestamp>
        <query>
          <arguments>
            <severity>critical</severity>
          </arguments>
        </query>
      </metadata>
      <Items>
        <Message>
          <AssignedOperator>
            <PersonAttributes>
              <Name/>
            </PersonAttributes>
          </AssignedOperator>
          <MessageID>90b40687-5b66-4227-aa5a-8e116d0bf105</MessageID>
          <Title>Backup Failed for host</Title>
          <Type/>
          <LifecycleState>open</LifecycleState>
          <Severity>Critical</Severity>
          <Category>BEM_EVENTS</Category>
          <CollaborationMode>fyi</CollaborationMode>
          <EmittingCI>
            <ConfigurationItemProperties>
              <ID/>
            </ConfigurationItemProperties>
          </EmittingCI>
          <EmittingNode>
            <NodeProperties>
              <DnsName>win3stdvm.synapse.com</DnsName>
            </NodeProperties>
          </EmittingNode>
          <Extensions>
            <OperationsExtension>
              <Application>BEM Application</Application>
              <Object/>
              <StateChangeTime>2009-10-05T17:37:55</StateChangeTime>
              <CreationTime>2009-09-10T12:39:48</CreationTime>
              <ReceivedTime>2009-09-10T12:39:48</ReceivedTime>
              <NumberOfDuplicates>0</NumberOfDuplicates>
              <CorrelationKey/>
              <ConditionMatched>false</ConditionMatched>
              <AutomaticActionStatus>notAvailable</AutomaticActionStatus>
              <OperatorActionStatus>notAvailable</OperatorActionStatus>
              <EscalationStatus>notEscalated</EscalationStatus>
              <Source/>
              <CustomAttributes>
                <Key>Test_Key</Key>
                <Text>Test_Value for custom attribute</Text>
              </CustomAttributes>
            </OperationsExtension>
            <NumberOfAnnotations>1</NumberOfAnnotations>
            <OriginalEvent/>
          </Extensions>
          <ChangeType>new</ChangeType>
        </Message>
      </Items>
      ...
    </message-response>
  </messages-response>
</hpom-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Orchestration Content 21.02