Add a device in the LogPoint Collector (LPC) setup

Follow the steps mentioned below to create a Collector/Fetcher in the LogPoint Collector (LPC) setup:

Create an Open Door connection in LogPoint (LP)

  • Execute the OpenDoor - Create API in the Director Console API.

Create a Distributed LogPoint setup in LogPoint Collector (LPC)

  1. Execute the OpenDoor - List API in the first LogPoint to obtain the value of the network parameter. Use this value in the private_ip parameter of the DistributedLogPoints - Create API in the LogPoint Collector (LPC).

  2. Execute the DistributedLogPoints - Create API.

Create a Distributed Collector in LogPoint

  1. Execute the DistributedCollectors - Refresh List API.

  2. Execute the DistributedLogPoints - List API to obtain the value of the id parameter. Use this value in the id parameter of the URL of the DistributedCollectors - Activate API.

  3. Execute the DistributedCollectors - Activate API.

Add a Device in LogPoint

  1. Execute the DistributedCollectors - List API to obtain the value of the id parameter. Use this value in the distributed_collector parameter of the Devices - Attach API.

  2. Execute the Devices - Attach API.

Sample API Requests and Responses for attaching a device in the LogPoint Collector (LPC) setup

Create an Open Door connection in LogPoint (LP)

  • Execute the OpenDoor - Create API in the Director Console API.

This step successfully enables a secure connection for the Distributed LogPoint setup in LogPoint Collector (LPC).

Create a Distributed LogPoint setup in LogPoint Collector (LPC)

circle-info

Make sure that the collector machine is in the LogPoint Collector mode. If it's in the LogPoint mode, run the SystemSettingsModesofOperation - Save API with the value of is_li_lite parameter as on.

  1. Execute the OpenDoor - List API to obtain the value of the network parameter.

  2. Execute the DistributedLogPoints - Create API. Use the value obtained from step 1 in the private_ip parameter of the DistributedLogPoints - Create API.

    The logpoint_identifier, in this case, should be the identifier of the LogPoint Collector (LPC). The ip_dns is the IP of the LogPoint to which the LogPoint Collector will connect. The password is the password used when executing the Create API above.

This step successfully creates a Distributed LogPoint setup in the LogPoint Collector (LPC).

Create a Distributed Collector in LogPoint

  1. Execute the DistributedCollectors - Refresh List API.

  2. Execute the DistributedLogPoints - List API to obtain the value of the id parameter.

  3. Execute the DistributedCollectors - Activate API. Use the value of id paramter obtained from step 2, in the id parameter of the URL of the DistributedCollectors - Activate API.

This step successfully activates a Distributed Collector.

Add a Device in LogPoint

  1. Execute the DistributedCollectors - List API to obtain the value of the id parameter.

  2. Execute the Devices - Attach API. Use the value obtained from the id parameter above, in the distributed_collector parameter of the Devices - Attach API.

circle-info

Use the value of id parameter obtained from Devices - List API in the id parameter of the URL of the Devices - Attach API.

This step successfully adds a device in the LogPoint Collector (LPC) setup.

Last updated

Was this helpful?