This topic describes how to enable the global acceleration feature to accelerate data collection in the Simple Log Service console.
Step 1: Enable the global acceleration feature
The global acceleration feature is in public preview. To enable the global acceleration feature for a Simple Log Service project, submit a ticket to contact technical support.
Step 2: Configure log collection acceleration for Logtail
You can use one of the following methods to configure log collection acceleration for Logtail.
Use the global acceleration method to install Logtail
If you enable the global acceleration feature before you install Logtail, you can select the installation method of global acceleration when you install Logtail. For more information, see Global acceleration.
Modify a Logtail configuration
If you enable the global acceleration feature after you install Logtail, you must modify your Logtail configuration.
Stop Logtail.
Linux operating system
Run the
sudo /etc/init.d/ilogtaild stop
command.Windows operating system
Choose
.In the Services dialog box, find the service that you want to manage. If your Logtail runs V1.0.0.0 or later, find the LogtailDaemon service. If your Logtail runs V0.x.x.x, find the LogtailWorker service. Then, right-click the service and select Stop.
Modify the Logtail startup configuration file named ilogtail_config.json.
Replace the value of endpoint in the data_server_list parameter with
log-global.aliyuncs.com
. For more information about the path to the ilogtail_config.json configuration file, see Startup configuration file (ilogtail_config.json).Start Logtail.
Linux operating system
Run the
sudo /etc/init.d/ilogtaild start
command.Windows operating system
Choose
.In the Services dialog box, find the service that you want to manage. If your Logtail runs V1.0.0.0 or later, find the LogtailDaemon service. If your Logtail runs V0.x.x.x, find the LogtailWorker service. Then, right-click the service and select Start.
What to do next
Configure log collection acceleration for other collection methods
Replace ${Endpoint}
or ${host}
in your collection configuration with log-global.aliyuncs.com
to accelerate log collection.
Disable the global acceleration feature
Log on to the Simple Log Service console.
In the Projects section, click the project that you want to manage.
On the Project Overview page, click Modify next to Global Acceleration.
In the Global Acceleration panel, configure CNAME for your accelerated domain and click Disable Acceleration.
ImportantBefore you disable the global acceleration feature, make sure that you no longer use the domain to upload or query data.