How do I reduce index traffic fees?
Optimize your index configurations to reduce index traffic fees.
The following methods help reduce index traffic fees in Simple Log Service. For more information, see Create indexes.
-
Disable the full-text indexing feature and configure field indexes.
Simple Log Service supports both full-text indexes and field indexes.
-
If you configure full-text indexes, the log field names (keys) and field values (values) are stored as the text type. Both the field names and the field values are included in the index traffic.
-
If you configure field indexes, the names of long and double fields are not included in the index traffic. Use field indexes to reduce index traffic fees. For example:
-
If you configure an index of the text type for the request_uri field and the field value is /request/path-2/file-7, the string request_uri and the value /request/path-2/file-7 are both included in the index traffic.
-
-
-
Configure indexes only for important fields.
If raw logs contain many fields but only some are used for queries and analysis, configure indexes only for those fields.
-
Disable LogReduce.
Enabling LogReduce increases the total index traffic by 10%. The following table provides examples.
Size of raw logs
Index percentage
Size of index traffic generated by LogReduce
Total index traffic
100 GB
20% (20 GB)
100 GB×10%
30 GB
100 GB
40% (40 GB)
100 GB×10%
50 GB
100 GB
100% (100 GB)
100 GB×10%
110 GB
If you no longer need LogReduce, disable it as soon as possible. For more information, see LogReduce.