Previous Topic: Source ID Calls (/<sourceid>)Next Topic: Delete Resource


Identify Resource

You can identify resources representing event sources and get information about them using GET. This call returns information about the source at the specified URI path. This path is derived from the result of a /deploycollection call.

GET curl -u elm_user:elm_password -k -H "Accept: application/xml" "https://hostname:8443/rest/am/1/agentgroups/<groupid>/agents/<agentid>/connectors/<connid>/sources/<sourceid>

In your environment, replace the sample URI path "/agentgroups/<groupid>/agents/<agentid>/connectors/<connid>/sources/<sourceid>" with the path for the resource you want.

This call returns:

<connectorSource>
    <id>e94523c9-65a3-4510-87cb-fc693ffce966</id>
    <integration>Syslog</integration>
    <integrationVersion>12.5.5203.0</integrationVersion>
    <deploymentPending>false</deploymentPending>
    <target>
        <host>calmdev06</host>
        <tcpPort>1468</tcpPort>
        <udpPort>40514</udpPort>
    </target>
</connectorSource>

When the deploymentPending value is "true", it means that the agent is reconfiguring and is currently unavailable for many operations.