Isolation key rules require that object storage files use deterministic, repeatable path names for the storage objects associated with an object group, and a deterministic pattern to derive the isolation keys. When the path names and isolation keys are consistent, isolation key-based object groups work very efficiently.
When you configure isolation keys for an object group, you can use regular expression capture group syntax to name the isolation key field; otherwise, ChaosSearch creates a
cs_partition_key_0 field in the indexed data structure. The isolation key field is used in Refinery views to select the isolation slice(s) to use for visualization or querying.
Isolation capture group names must be unique.
If you plan to specify a regex capture group name to use instead of the default
cs_partition_key_0field, make sure that the capture group name is unique within the entire schema of the object group. The capture group name cannot conflict with a field in the schema coming from the files indexed by the object group.
Another important consideration is whether an isolation key pattern creates a reasonable number of slices, or a virtually unbounded number of slices. If the isolation key causes ChaosSearch to create thousands or millions of separate slices, and thus thousands or millions of daily index files, isolation keys could incur a negative impact on query performance because of the very large number of index files to process. As a best practice, it is recommended to use rules that create less than 10,000 isolation keys for one object group.
Updated 4 months ago