FAQ about log collectors

更新时间:
复制 MD 格式

Answers to common questions about EDAS log collector installation, compatibility, billing, and troubleshooting on Elastic Compute Service (ECS) instances.

Quick diagnostic reference

Use these commands to verify log collector status:

Check

Command

Expected result

Post-installation connection (port 8002)

netstat -antp|grep 8002

Port 8002 is listening

Trace and monitoring data (port 8182)

netstat -antp|grep 8182

Port 8182 is listening

Can I install a log collector on multiple ECS instances in a VPC?

Yes. Install a log collector on each ECS instance in the cluster, especially for large clusters in a virtual private cloud (VPC).

Is log collector bandwidth billed?

No. Log collectors use internal bandwidth, which Alibaba Cloud does not bill.

Is EDAS Agent required on the same ECS instance?

No. However, install the log collector on an ECS instance that already has EDAS Agent installed.

What stops working without a log collector?

Without a log collector, EDAS cannot collect data. Services related to views and traces become unavailable, including:

  • Infrastructure monitoring

  • Service monitoring

  • Alerting

  • Tracing

  • Scaling

These features remain unavailable until a log collector is installed and running.

The installation shows "setup sproxy failed"

This message does not indicate a failed installation. The installation script checks for a connection before the sproxy module finishes starting, which causes the timing mismatch.

Resolution:

  1. Wait one minute after installation completes.

  2. Check whether port 8002 has been set up:

    netstat -antp | grep 8002

Supported operating systems

Log collectors support the following 64-bit operating systems:

Operating system

Minimum version

CentOS

7.0

Alibaba Cloud Linux

15.1

No trace or monitoring data in a VPC environment

Follow these steps to diagnose the issue:

  1. Verify request traffic exists. Traces and monitoring data are generated only when the application receives requests. If no traffic reaches the application, no data appears in charts or dashboards.

  2. Check that port 8182 is open on each ECS instance. Run the following command:

    netstat -antp | grep 8182