



Parameter | Required | Description |
Public Network Access Address | Yes | The service address of the Elasticsearch cluster. Specify an IP address or a domain name. |
ES Port | Yes | The access port of the Elasticsearch cluster. Generally, the port is 9200. |
Username | No | Elasticsearch username. This setting is required only if user authentication is enabled for the Elasticsearch cluster. |
Password | No | Elasticsearch user password. This setting is required only if user authentication is enabled for the Elasticsearch cluster. |
Parameter | Required | Description |
Network service type | Yes | If the access method is via the private network address, you need to specify the network service type of the target Elasticsearch cluster. CVM CLB |
Network(VPC) | Yes | When the network service type is selected as CVM or CLB, you need to select the VPC instance where the CVM or CLB instance is located. |
Private Network Access Address | Yes | The service address of the Elasticsearch cluster. Specify an IP address or a domain name. |
ES Port | Yes | The access port of the Elasticsearch cluster. Generally, the port is 9200. |
Username | No | Elasticsearch username. This setting is required only if user authentication is enabled for the Elasticsearch cluster. |
Password | No | Elasticsearch user password. This setting is required only if user authentication is enabled for the Elasticsearch cluster. |


Parameter | Description |
Import Rule Name | The name of the imported configuration. |
Index List | The indexes to be imported. Separate multiple indexes with commas (,), such as index1,index2,index3. A maximum of 200 indexes are supported. |
ES Query Statement | The query statement used to filter data. Only data that meets the query conditions will be imported to CLS. Specify * or leave it blank to import all data without filtering. The query statement must comply with the Elasticsearch query_string format. For more details, see Query string query. |
Import Mode | Supports importing historical data or new data: Import Historical Data: The task will be completed after data import is finished. Import New Data: The import task will run continuously. If you select Import New Data, you must specify a time field. |
Log Time Source | Supports selecting Log Collection Time and Specify Log Fields. Log Collection Time: The time when logs are imported to CLS is used as the log timestamp. Specify Log Fields: Specify the field name representing time in the log. The value of this field will be used as the log timestamp. Note: When the collection time is used as the time field, sorting by _id needs to be enabled for the Elasticsearch cluster. |
Log Time Field | This field is required only when Log Time Source is Specify Log Fields. Specify the field name representing time in the log. The value of this field will be used as the log timestamp. Note: The specified time field needs to be of the keyword type. If the time field type is text, nested, object, or binary, sorting will not be supported, thus resulting in data import failure. |
Time Format for Parsing | After confirming the time field in the log, you need to further specify the time format to parse the value of the time field. For details, see Configuring the Time Format. |
Time zone of the time field | After confirming the time field and format in the log, you need to select one of the following two time zone standards: UTC (Coordinated Universal Time) GMT (Greenwich Mean Time) |
Import Time Range | Specify the time range of logs to import. This configuration is only valid if a time field is set. |
Start Time | This option is available only when the import mode is set to Import New Data. Specify the start time for data import. |
Maximum Data Latency | Specify the maximum latency from data generation to writing to Elasticsearch. The default value is 600s, and the maximum value is 3600s. This configuration is valid only when the import mode is set to Import New Data. If the set value is smaller than the actual latency, some data cannot be imported from Elasticsearch to CLS. |
Check Cycle | Check cyclel for new data in Elasticsearch. The default value is 300s, and the minimum value is 60s. |




Field | Description |
__TAG__.es_url | The URL address of the Elasticsearch cluster from which logs are generated. |
__TAG__.es_index | The index information of the log source. |
Limit | Description |
Size of a single log | The maximum size of a single log that can be imported is 1 MB. The part exceeding this limit will be discarded. |
Number of import tasks | A single topic supports a maximum of 100 Elasticsearch import tasks. |
Number of imported indexes | A single task supports importing a maximum of 200 Elasticsearch indexes. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan