createDeviceGroup Operation
Using createDeviceGroup operation you can add a new device group to the TIBCO LogLogic® Appliance.
Request Parameters
authToken, deviceGroupName, description, groupType, enabled, deviceNames
For more information about each common request parameter, see Common Request Parameters .
Example
To add a local device group named Cisco ASA Devices, with a description of Cisco ASA Description, including log sources 10.1.2.3 and CiscoASA1, and enabling the group:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dev="DeviceGroupService"> <soapenv:Header/> <soapenv:Body> <dev:createDeviceGroup> <dev:authToken>admin/admin123</dev:authToken> <dev:deviceGroupName>Cisco ASA Devices</dev:deviceGroupName> <dev:description>Cisco ASA Description</dev:description> <dev:groupType>local</dev:groupType> <dev:enabled>yes</dev:enabled> <dev:deviceNames>10.1.2.3,CiscoASA1</dev:deviceNames> </dev:createDeviceGroup> </soapenv:Body> </soapenv:Envelope>
SOAP response for createDeviceGroup Operation:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header/> <soapenv:Body> <ns:createDeviceGroupResponse xmlns:ns="DeviceGroupService"> <ns:return xsi:type="ax211:DeviceGroupResponse" xmlns:ax211="http://devicegroup.services.logapp.loglogic.com/xsd" xmlns:ax212="http://services.logapp.loglogic.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ax212:authToken xsi:nil="true"/> <ax212:resultCount>1</ax212:resultCount> <ax212:statusCode>2000</ax212:statusCode> <ax212:statusMessage>Successful</ax212:statusMessage> <ax212:summaryOnly>false</ax212:summaryOnly> <ax211:resultSet xsi:type="ax211:DeviceGroupDetail"> <ax211:description>local_dg1</ax211:description> <ax211:deviceGroupName>local_test_dg1</ax211:deviceGroupName> <ax211:devices>127.0.0.1/::ffff:10.114.81.42_General</ax211:devices> <ax211:devices>127.0.0.1/::ffff:10.114.81.42_logapp</ax211:devices> <ax211:enabled>enabled</ax211:enabled> <ax211:groupType>local</ax211:groupType> </ax211:resultSet> </ns:return> </ns:createDeviceGroupResponse> </soapenv:Body> </soapenv:Envelope>
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.