edit-icon download-icon

Install log collector

Last Updated: Nov 16, 2018

Log collector overview

Install a log collector before using the application monitoring function of EDAS.

EDAS provides a suite of functions, where a lot of data is pulled from local machines. This requires that the server can be connected to the relevant machines.

Alibaba Cloud’s network environment consists of classic networks and VPCs.

  • In a classic network, if the firewall and security groups have no port (8182) restrictions, the server can be connected directly.
  • In a VPC, the machines are intrinsically isolated from the server.EDAS provides a special utility for VPCs: log collector.

The log collector has two editions: Server and Client. SProxy is a log collector client installed on the instance.as shown below:

Log collector sample

Install a log collector

To implement the solution shown above, you must first install the log collector on an ECS instance(ECS A in this example) on the VPC.The installation procedure is as follows:

  1. Log on to the EDAS console.

  2. On the left-side navigation bar, choose Resources > VPC.

  3. Switch to the region that contains ECS A and, in the VPC list for this region, find ECS A’s VPC ID. Then, click Install Log Collector in the Actions field.

  4. In the dialog box, copy the script for installation.

  5. Log on to the ECS instance where you want to install EDAS Agent as a root Log on to the instance A, paste the copied script for installation, and press Enter.

  6. After the installation is complete, manually run the netstat -ant|grep 8002 Command.

    • If a connection is established, this indicates that the log collector was installed successfully.

    • If no connection is established, this indicates a problem with the installation. In this case, open a ticket to consult with us.

Thank you! We've received your feedback.